cURL
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
Authentication Key
Conversation id
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
meta.nextToken
Returns a list of Message objects
The response is of type object.
object
Was this page helpful?