The ID of the Conversation (chat or thread) to retrieve messages from.
Conversation Type
The type of conversation to retrieve messages from.
Return All Pages
Automatically fetch all resources, page by page.
Advanced Parameters
Parameter
Description
End Time
End timestamp for filtering messages. Only messages created before this time will be retrieved. If omitted, includes all messages up to the most recent.
Page Size
The number of messages to return per page (1-100).
Page Token
A token used for pagination. This value can be obtained from the page_token property from a previous response.
Sort Type
The order to sort messages by timestamp.
Start Time
Start timestamp for filtering messages. Only messages created after this time will be retrieved. If omitted, includes messages from the earliest available.