Skip to main content
POST
Send event
Required scopes: or

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
chat_id
string
required

The ID of the chat to send the event to.

event
object
required

An event object. Does not support the form type in the Text app. For field details, see the Agent Chat API data structures reference.

Response

200 - application/json

Event sent.

event_id
string

The ID of the sent event.