Links
- URL: https://twitter.com
- Documentation: https://developer.twitter.com/en/docs/twitter-api
- Tags: web2
- Category: marketing
- Type: socialmedia
API
auth
bearer
Authentication
- Authorization: header:basic
- grant_type: body:form
Bearer Token
- Description: Bearer Token
- Docs: https://developer.twitter.com/en/docs/authentication/oauth-2-0/bearer-tokens
oAuth2AuthorizationCode
Authentication
- grant_type: body:form
- refresh_token: body:form
- client_id: body:form
- client_secret: body:form
OAuth2 Authorization Code
- Description: OAuth2 Authorization Code
- Docs: https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code
oAuth2Authorize
Authentication
- client_id: query
OAuth2 Authorization Code Flow with PKCE
- Description: OAuth2 Authorization Code Flow with PKCE
- Docs: https://developer.twitter.com/en/docs/authentication/oauth-2-0/user-access-token
oAuth2Token
Authentication
- Authorization: header:basic
OAuth2 Authorization Code Flow with PKCE
- Description: OAuth2 Authorization Code Flow with PKCE
- Docs: https://developer.twitter.com/en/docs/authentication/oauth-2-0/user-access-token
oAuth2RefreshToken
Authentication
- Authorization: header:basic
OAuth2 Authorization Code Flow with PKCE
- Description: OAuth2 Authorization Code Flow with PKCE
- Docs: https://developer.twitter.com/en/docs/authentication/oauth-2-0/user-access-token
manage
postTweets
Authentication
- Authorization: header:oauth1a
Post Tweets
- Description: Creates a Tweet on behalf of an authenticated user.
- Docs: https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
users
lookup
Authentication
- Authorization: header:oauth1a
Users lookup
- Description: Returns a variety of information about one or more users specified by their usernames.
- Docs: https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-by-username-username
v1status
update
Authentication
- Authorization: header:oauth1a
Status Update
- Description: Updates the authenticating user's current status, also known as Tweeting.
- Docs: https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-update
v1media
upload
Authentication
- Authorization: header:oauth1a
Upload media
- Description: Upload media
- Docs: https://developer.twitter.com/en/docs/twitter-api/v1/media/upload-media/api-reference/post-media-upload