cURL
curl --request GET \ --url https://api.botpress.cloud/v1/chat/events/{id} \ --header 'Authorization: Bearer <token>' \ --header 'x-bot-id: <api-key>'
{ "event": { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "type": "<string>", "payload": {}, "conversationId": "<string>", "userId": "<string>", "messageId": "<string>", "status": "pending", "failureReason": "<string>" } }
Retrieves the Event object for a valid identifiers.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your bot ID.
Event id
Returns the Event object if a valid identifiers were provided. Returns an error otherwise
The response is of type object.
object
Was this page helpful?