GET
/
conversations
/
{conversationId}
/
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>"
  }
}

Headers

x-user-key
string
required

Authentication Key

Path Parameters

conversationId
string
required

Conversation id

Query Parameters

nextToken
string

Provide the meta.nextToken value provided in the last API response to retrieve the next page of results

Response

200
application/json
Returns a list of [Message](#schema_message) objects
messages
object[]
required

The Message object represents a message in a Conversation for a specific User.

meta
object
required