Send Message
Sends an inbound customer message into the chat engine and returns the agent’s reply synchronously.
session_id is optional. If omitted, the engine resolves the customer’s active session for this agent (creating or resuming as needed), so a typical integration only needs agent_uuid, customer_id, and content.
Authorizations
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Body
Unique identifier of the agent handling the conversation.
"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"
Your identifier for the customer sending the message. Used to resolve the active session when session_id is omitted.
"+15551112222"
The customer's message text.
"Hi, I need help."
Optional session UUID to route the message to. If omitted, the engine resolves the active/new session for the customer + agent.
"4718a326-417b-4dda-90d0-21fd65a11cb8"
