Overview
Posts are the core content on X. Each Post can contain:- Up to 280 characters of text
- Attached media (images, videos, GIFs)
- Polls, places, and URLs
- Replies, quotes, and mentions
Single Post
Retrieve a specific Post by ID
Multiple Posts
Retrieve up to 100 Posts in one request
Edit History
Access the complete edit history of a Post
Expanded Objects
Include author, media, polls, and more
Use cases
- Display Post content — Show Post details in your application
- Verify availability — Check if a Post still exists or was deleted
- Compliance management — Track Post changes for compliance events
- Analytics — Retrieve engagement metrics for specific Posts
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/tweets/:id | Retrieve a single Post by ID |
| GET | /2/tweets | Retrieve multiple Posts by IDs (up to 100) |
Getting started
Prerequisites
- An approved developer account
- A Project and App in the Developer Console
- Your App’s keys and tokens