GET
/conversations.historyList conversation history
Lists messages and events from a conversation's history. Use latest and oldest to define a time range, inclusive to include boundary timestamps, and cursor to paginate through results. The response includes messages, pagination state, and channel action metadata.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token with the `conversations:history` scope.
channelstringoptional
The conversation ID whose history to retrieve.
latestnumberoptional
The numeric timestamp marking the end of the message time range.
oldestnumberoptional
The numeric timestamp marking the start of the message time range.
inclusivebooleanoptional
Set to `true` to include messages whose timestamps equal `latest` or `oldest`.
limitintegeroptional
The maximum number of history items to return.
cursorstringoptional
Pagination cursor from a previous response's `response_metadata.next_cursor` value; omit it to retrieve the first page.
200Returns an array of message objects, a `has_more` indicator, pin count, and channel action metadata.
channel_actions_countintegerrequired
channel_actions_tsarrayrequired
has_morebooleanrequired
messagesarray<MessageObject>required
okbooleanrequired
pin_countintegerrequired
defaultReturned when the conversation cannot be found, a timestamp is invalid, or authentication, permissions, or request formatting is invalid.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
neededstringoptional
okbooleanrequired
providedstringoptional
Error handling
latest and oldest must be valid numeric timestamps when supplied, and inclusive applies only when either boundary timestamp is provided. Use the cursor returned in response_metadata.next_cursor from a previous request to continue pagination.