Headers
Authentication Key
Body
application/json
Event data
Payload is the content of the custom event.
ID of the Conversation
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
Payload is the content of the custom event.
Show child attributes
ID of the Conversation
Was this page helpful?