v1

latestOpenAPI 3.1.0MIT2026-07-26134154266.9 KB

Send a message

Sends a message in a chat session. The message can be sent as either a contact or an agent.

post/chat/sessions/{session_id}/send

Path parameters

session_idstring required

The unique identifier of the chat session

Request body

sender'contact' | 'agent' required
custom_dataobject

Session-level custom data to merge into the chat session. Use contact.custom_data for contact-level attributes.

should_take_over_session_from_aiboolean

Response

Default Response

successboolean required