curl --request POST \
--url https://chat.botpress.cloud/{webhookUrl}/messages \
--header 'Content-Type: application/json' \
--header 'x-user-key: <x-user-key>' \
--data '
{
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"conversationId": "<string>"
}
'{
"message": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"userId": "<string>",
"conversationId": "<string>"
}
}Creates a new Message
curl --request POST \
--url https://chat.botpress.cloud/{webhookUrl}/messages \
--header 'Content-Type: application/json' \
--header 'x-user-key: <x-user-key>' \
--data '
{
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"conversationId": "<string>"
}
'{
"message": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {
"audioUrl": "<string>",
"type": "audio"
},
"userId": "<string>",
"conversationId": "<string>"
}
}Authentication Key
Message data
ID of the Conversation
Returns a Message.
The Message object represents a message in a Conversation for a specific User.
Show child attributes
ID of the Conversation
Was this page helpful?