Twitter Logo

Developer Support

Home Contact
DS
Support Team

API Developer Support

@twitterdevsupport

Need help with our APIs or developer tools? We're here to help you build, publish, and manage your Twitter integrations.

API Key Webhooks

Getting Started

Begin your API journey with our step-by-step guide. You'll need to register your application in the Developer Portal and obtain API keys.


POST /api/register
Content-Type: application/json

{
  "app_name": "Your App Name",
  "description": "App description for review"
}

          

Response includes client ID and secret keys after approval

Authentication

OAuth 2.0

Secure your API requests using bearer tokens with appropriate scopes.

Authorization: Bearer YOUR_ACCESS_TOKEN

App Only auth

Use this for server-side operations without user context. Requires elevated permissions.

API Endpoints

User Lookup

GET /2/users/:id

Tweet Creation

POST /2/tweets

{
  "text": "Hello Twitterverse!"
}