Send a message to start or continue a conversation with an agent
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Message details for the agent
The question or message to send to the agent
"What are your business hours?"
Unique identifier of the agent to message
"clx1234567890abcdef"
Optional: ID of an existing contact to associate with this conversation. If not provided, a new contact may be created automatically.
"contact_1234567890"
Optional: ID of an existing conversation to continue. If provided, the message will be added to the existing conversation. If not provided, a new conversation will be created and returned in the response.
"chat_1234567890"
Type of message being sent
TEXT, IMAGE "TEXT"
Optional: Enable streaming of the response
false
Optional: Client IP address
"192.168.1.1"
Optional: Client country code
"US"
Optional: Format of the AI response (MARKDOWN or PLAIN text)
MARKDOWN, PLAIN "MARKDOWN"
Optional: Integration type for the conversation
WHATSAPP, SLACK "WHATSAPP"