Headers
Authentication Key
Path Parameters
Conversation id
Query Parameters
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
curl --request GET \
--url https://chat.botpress.cloud/{webhookUrl}/conversations/{conversationId}/messages \
--header 'x-user-key: <x-user-key>'{
"messages": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"userId": "<string>",
"conversationId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Retrieves the conversation’s Messages
curl --request GET \
--url https://chat.botpress.cloud/{webhookUrl}/conversations/{conversationId}/messages \
--header 'x-user-key: <x-user-key>'{
"messages": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"userId": "<string>",
"conversationId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Authentication Key
Conversation id
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Was this page helpful?