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
The body is of type object
.
Returns a Event.
The response is of type object
.
Was this page helpful?