Returns a paginated list of messages within a specific experience chat, DM, or group chat channel, sorted by creation time.
Required permissions:
chat:readA company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
42
Returns the last n elements from the list.
42
The unique identifier of the channel or experience to list messages for.
The sort direction for messages by creation time. Use 'asc' for oldest first or 'desc' for newest first.
asc, desc