GET
/
messages
/
{id}
curl --request GET \
  --url https://chat.botpress.cloud/{webhookUrl}/messages/{id} \
  --header 'x-user-key: <x-user-key>'
{
  "message": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "payload": {
      "audioUrl": "<string>",
      "type": "audio"
    },
    "userId": "<string>",
    "conversationId": "<string>"
  }
}

Headers

x-user-key
string
required

Authentication Key

Path Parameters

id
string
required

Id of the Message

Response

200
application/json
Returns a [Message](#schema_message) object if a valid identifier was provided
message
object
required

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