curl --request GET \
--url https://api.botpress.cloud/v1/chat/events \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"events": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"status": "pending",
"failureReason": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Retrieves a list of Event you’ve previously created. The events are returned in sorted order, with the most recent appearing first.
curl --request GET \
--url https://api.botpress.cloud/v1/chat/events \
--header 'Authorization: Bearer <token>' \
--header 'x-bot-id: <x-bot-id>'{
"events": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"type": "<string>",
"payload": {},
"status": "pending",
"failureReason": "<string>",
"conversationId": "<string>",
"userId": "<string>",
"messageId": "<string>"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Filter by event type
Filter by conversation id
Filter by user id
Filter by message id
Filter by workflow id
Filter by status. Allowed values: pending, ignored, processed, failed.
pending, ignored, processed, failed, scheduled Returns a list of Event objects
Show child attributes
Payload is the content of the event defined by the integration installed on your bot or one of the default events created by our api.
pending, processed, ignored, failed, scheduled, canceled Reason why the event failed to be processed
2000ID of the Conversation to link the event to.
28 - 36Was this page helpful?