Actions30
- Attachment Actions
- Chat Actions
- Chat Message Actions
- Phone Number Actions
- Webhook Subscription Actions
Chat Message → Get Thread
AI-generatedSummary
Fetch a thread of messages for a given chat message.
Inputs
- cursor — Pagination cursor for the thread.
- limit — Maximum number of messages to return (default 50).
- chatMessageId — ID of the chat message whose thread to retrieve.
- order — Sort order for messages ('asc' or 'desc').
Output shape
An array of chat message objects representing the thread.
Pagination is controlled by cursor and limit; the response may include fields like id, text, timestamp, and references to parent messages.
Examples
Example 1: Retrieve the last 10 messages of a thread, ordered newest first.
Set Chat Message ID to '12345', Order to 'desc', Limit to 10.