v1

latestOpenAPI 3.0.02026-07-1417448450.4 KB
conversations

Fetches a conversation's history of messages and events.

get/conversations.history

Query parameters

tokenstring

Authentication token. Requires scope: conversations:history

channelstring

Conversation ID to fetch history for.

latestnumber

End of time range of messages to include in results.

oldestnumber

Start of time range of messages to include in results.

inclusiveboolean

Include messages with latest or oldest timestamp in results only when either timestamp is specified.

limitinteger

The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.

cursorstring

Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail.

Response

Typical success response containing a channel's messages

channel_actions_countinteger required
has_moreboolean required
oktrue required
pin_countinteger required