curl --request GET \
--url https://api.botpress.cloud/v1/chat/messages \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"messages": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"direction": "incoming",
"userId": "<string>",
"conversationId": "<string>",
"tags": {},
"origin": "synthetic"
}
],
"meta": {
"nextToken": "<string>"
}
}curl --request GET \
--url https://api.botpress.cloud/v1/chat/messages \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"messages": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"direction": "incoming",
"userId": "<string>",
"conversationId": "<string>",
"tags": {},
"origin": "synthetic"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Conversation id
Returns a list of Message objects.
Show child attributes
Payload is the content type of the message. Accepted payload options: Text, Image, Choice, Dropdown, Card, Carousel, File, Audio, Video, Location
Direction of the message (incoming or outgoing).
incoming, outgoing ID of the Conversation
28 - 36Set of Tags that you can attach to a Conversation. The set of Tags available on a Conversation is restricted by the list of Tags defined previously by the Bot. Individual keys can be unset by posting an empty value to them.
Show child attributes
Origin of the message (synthetic).
synthetic Was this page helpful?