Send a chat message
Chat
Send Chat Message
deprecated
Legacy — will be deprecated soon. Use the Chat v1 endpoint (POST /v1/chat/inbound) for new integrations.
Sends a user message to an active chat session and returns the agent’s response synchronously.
POST
Send a chat message
Authorizations
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Body
application/json
Unique identifier of the agent handling the session.
Example:
"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"
Session ID returned by the Start Chat Session endpoint.
Example:
"4718a326-417b-4dda-90d0-21fd65a11cb8"
The user's message.
Example:
"What are your business hours?"
