Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Standard v1.1 compared to X API v2
If you have been working with the standard v1.1 POST statuses/update and POST statuses/destroy/:id endpoints, the goal of this guide is to help you understand the similarities and differences between the standard and X API v2 manage Posts endpoints.- Similarities
- Authentiation
- Differences
- Endpoint URLs
- App and Project requirements
- Request parameters
Similarities
Authentication Both the standard v1.1 and X API v2 manage Posts (POST statuses/update and POST statuses/destroy/:id) endpoints use OAuth 1.0a User Context. Therefore, if you were previously using one of the standard v1.1 endpoints, you can continue using the same authentication method if you migrate to the X API v2 version.Differences
Endpoint URLs- Standard v1.1 endpoints:
- https://api.x.com/1.1/statuses/update.json (Creates a Post)
https://api.x.com/1.1/statuses/destroy/:id.json(Deletes a Post)
- X API v2 endpoint:
- https://api.x.com/2/tweets (Creates a Post)
- https://api.x.com/2/tweets/:id (Deletes a specified Post)