Send event
Sends an event object.
Use this method to send a message by specifying the message event type in the request.
The user must be added to the chat before they can send an event. Events with visibility: agents are sent to agents only; events with visibility: all are sent to all users. Users with visibility: agents cannot send events with visibility: all.
The method updates the requester’s events_seen_up_to as if they’ve seen all chat events.
Authorizations
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.
Scopes
Body
An event object. Does not support the form type in the Text app. For field details, see the Agent Chat API data structures reference.