Skip to main content
POST
Send event preview
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 preview to.

event
object
required

An event object. Only the message type is supported. For field details, see the Agent Chat API data structures reference.

Response

200

Event preview sent.