Skip to main content
POST
Send event

Authorizations

Authorization
string
header
required

Customer access token obtained from the customer authorization flow.

Query Parameters

organization_id
string
required

Unique identifier of the organization.

Body

application/json
chat_id
string
required

The ID of the chat that you want to send a message to.

event
object
required

The event object. Does not support the form type event in the Text app.

attach_to_last_thread
boolean
default:false

If set to true: the event will be added to the last thread for inactive chats. If set to false: the request will fail for inactive chats. The flag is ignored for active chats.

Response

200 - application/json

Event sent.

event_id
string

The event ID.