The Manage Posts endpoints let you create and delete Posts on behalf of authenticated users. Build applications that post content, create threads, or manage user Posts.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.
Overview
Create Post
Publish a new Post
Delete Post
Delete an existing Post
Reply
Reply to another Post
Quote
Quote another Post
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /2/tweets | Create a new Post |
| DELETE | /2/tweets/:id | Delete a Post |
Creating Posts
Basic Post
Self-serve customers: Posts created via the API are limited to a maximum of 1 cashtag per post.
Reply to a Post
Self-serve customers: Replies are only permitted if the original post’s author has explicitly summoned the replying account by @mentioning them or quoting one of their posts.
Quote a Post
Post with media
Upload media first using the Media Upload endpoint, then reference the
media_id in your Post.Post with poll
Deleting Posts
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- User Access Tokens via OAuth 2.0 PKCE or 3-legged OAuth
Quickstart
Create your first Post
Integration guide
Key concepts and best practices
Media upload
Upload media for Posts
API Reference
Full endpoint documentation