getConversation
Retrieve the full history of a Twitter conversation by providing the conversation ID, with options to specify message fields, result limits, and pagination for extensive threads.
Instructions
Get full conversation history for a specific conversation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
conversationId | Yes | The ID of the conversation to retrieve | |
dmEventFields | No | Fields to include in the DM event objects | |
maxResults | No | Maximum number of messages to return (default: 100, max: 100) | |
paginationToken | No | Pagination token for retrieving next page of results |
Input Schema (JSON Schema)
{
"properties": {
"conversationId": {
"description": "The ID of the conversation to retrieve",
"type": "string"
},
"dmEventFields": {
"description": "Fields to include in the DM event objects",
"items": {
"enum": [
"id",
"text",
"created_at",
"sender_id",
"dm_conversation_id",
"referenced_tweet",
"attachments"
],
"type": "string"
},
"type": "array"
},
"maxResults": {
"description": "Maximum number of messages to return (default: 100, max: 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"paginationToken": {
"description": "Pagination token for retrieving next page of results",
"type": "string"
}
},
"required": [
"conversationId"
],
"type": "object"
}