cURL
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
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.
Was this page helpful?