conversation_id field lets you identify, track, and reconstruct entire conversation trees.
How it works
When someone posts and others reply, all replies share the sameconversation_id—the ID of the original post that started the conversation.
conversation_id.
Requesting conversation_id
Addconversation_id to your tweet.fields:
Getting a full conversation
Useconversation_id as a search operator to retrieve all posts in a thread:
Use cases
- Thread reconstruction
- Conversation monitoring
- Conversation analytics
Build the full conversation tree:
Related fields
| Field | Description |
|---|---|
conversation_id | ID of the original post that started the thread |
in_reply_to_user_id | User ID of the post being replied to |
referenced_tweets | Array with type: "replied_to" and the parent post ID |
Example: Full thread retrieval
Notes
- The original post’s
conversation_idequals its ownid conversation_idis available on all v2 endpoints that return posts- Use with filtered stream to monitor conversations in real-time
- Combine with pagination for large threads