listMessages

Retrieves a list of Message you’ve previously created. The messages are returned in sorted order, with the most recent appearing first. The list can be filtered using Tags.

GET/v1/chat/messages

Authorization

AuthorizationBearerrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header parameters

x-bot-idstringrequired
Bot id
x-integration-idstring
Integration id
x-integration-aliasstring
Integration alias

Query parameters

nextTokenstring
Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
conversationIdstring
Conversation id
tagsobject
Filter by tags
afterDatestring
Date in ISO 8601 string with UTC timezone after which the message was created (inclusive)
beforeDatestring
Date in ISO 8601 string with UTC timezone before which the message was created (inclusive)

Response

Returns a list of Message objects.

messagesobject[]required
metaobjectrequired