Twitter API v2
Number of APIs: 62
This is a Qodex Collection for the Twitter API v2 endpoints.
Refer to the main Twitter API documentation for more details.
If you have an API-related question, you can also discuss in the developer community forum.
Installation
Quick install
Go to the Collection and click Run in Qodex.
Manual install
You can also download this Collection from a GitHub repo here: https://github.com/twitterdev/Qodex-twitter-api
Environment
This Collection includes a pre-configured Environment. You will need to set up the following variables in order to run each request (depending on the authentication type used by the request you are sending):
| Name | Description |
|---|---|
consumer_key | Your consumer key |
consumer_secret | Your consumer secret |
access_token | Your access token |
token_secret | Your access token secret |
bearer_token | Your bearer token |
-
Manage Tweets - Delete a Tweet DELETE https://api.twitter.com/2/tweets/:id
-
User Lookup - User by ID GET https://api.twitter.com/2/users/:id
-
List-Pinned Lists - User's pinned Lists GET https://api.twitter.com/2/users/:id/pinned_lists
-
Filtered Stream - Delete Rules (by rule value) POST https://api.twitter.com/2/tweets/search/stream/rules
-
List-List Tweets - List Tweets lookup GET https://api.twitter.com/2/lists/:id/tweets
-
Tweet Lookup - Single Tweet Usercontext GET https://api.twitter.com/2/tweets/:id
-
Follows - Users a user ID is following GET https://api.twitter.com/2/users/:id/following
-
Filtered Stream - Retrieve Rules GET https://api.twitter.com/2/tweets/search/stream/rules
-
Batch Compliance - Create a batch compliance job POST https://api.twitter.com/2/compliance/jobs
-
Batch Compliance - Get all batch compliance jobs GET https://api.twitter.com/2/compliance/jobs?type=tweets