Send a message
Sessions
Send a message
Send a message — Sends a message in a chat session. Use when orchestrating conversations from code — creating sessions, sending messages, or listing history for an external…
POST
Send a message
Custom data
This endpoint accepts two independentcustom_data objects, each merged into a different record:
- Top-level
custom_data— session-level attributes that belong to this conversation, such as an order ID, cart value, or routing flag. Merged into the chat session and returned by Get Session. Values can be strings, numbers, or booleans. contact.custom_data— contact-level attributes that belong to the person, such as plan, region, or account tier. Merged into the contact. Values are strings.
400.
Session
custom_data set through this endpoint is stored on the session but is not synced to a connected external ticketing system (e.g. Intercom or HubSpot).Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the chat session
Body
application/json