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 Was this page helpful?