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>"
}
}Documentation Index
Fetch the complete documentation index at: https://botpress-ak-docs-20-document-updating-variables-from-outsid.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Key
Message data
Payload is the content type of the message.
Show child attributes
ID of the Conversation
Returns a Message.
The Message object represents a message in a Conversation for a specific User.
Show child attributes
Was this page helpful?