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

The response is of type object.