curl --request POST \
--url https://chat.botpress.cloud/{webhookUrl}/events \
--header 'Content-Type: application/json' \
--header 'x-user-key: <x-user-key>' \
--data '
{
"payload": {},
"conversationId": "<string>"
}
'{
"event": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {},
"conversationId": "<string>",
"userId": "<string>"
}
}Creates a custom Event
curl --request POST \
--url https://chat.botpress.cloud/{webhookUrl}/events \
--header 'Content-Type: application/json' \
--header 'x-user-key: <x-user-key>' \
--data '
{
"payload": {},
"conversationId": "<string>"
}
'{
"event": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"payload": {},
"conversationId": "<string>",
"userId": "<string>"
}
}Authentication Key
Event data
ID of the Conversation
Returns a Event.
Show child attributes
ID of the Conversation.
Was this page helpful?