Chat API
- Introduction
- Endpoints
Admin API
- Getting started
- Concepts
- Endpoints
Files API
Tables API
- Getting Started
- Endpoints
Runtime API
- Getting Started
- Concepts
- Endpoints
- POSTcreateConversation
- GETlistConversations
- GETgetConversation
- PUTupdateConversation
- DELdeleteConversation
- POSTgetOrCreateConversation
- GETlistParticipants
- POSTaddParticipant
- GETgetParticipant
- DELremoveParticipant
- POSTcreateEvent
- GETlistEvents
- GETgetEvent
- POSTcreateMessage
- GETlistMessages
- POSTgetOrCreateMessage
- GETgetMessage
- PUTupdateMessage
- DELdeleteMessage
- POSTcreateUser
- GETlistUsers
- GETgetUser
- PUTupdateUser
- DELdeleteUser
- POSTgetOrCreateUser
- POSTsetStateExpiry
- GETgetState
- POSTsetState
- PATCHpatchState
- POSTgetOrSetState
- POSTcallAction
- POSTconfigureIntegration
- GETlistTagValues
- POST
createEvent
POST
/
v1
/
chat
/
events
Copy
curl --request POST \
--url https://api.botpress.cloud/v1/chat/events \
--header 'Content-Type: application/json' \
--data '{
"type": "<string>",
"payload": {},
"schedule": {
"dateTime": "<string>",
"delay": 123
},
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>"
}'
Copy
{
"event": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>",
"status": "pending",
"failureReason": "<string>"
}
}
Body
application/json
Event data
The body is of type object
.
Was this page helpful?
Copy
curl --request POST \
--url https://api.botpress.cloud/v1/chat/events \
--header 'Content-Type: application/json' \
--data '{
"type": "<string>",
"payload": {},
"schedule": {
"dateTime": "<string>",
"delay": 123
},
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>"
}'
Copy
{
"event": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>",
"status": "pending",
"failureReason": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.