Skip to main content
POST
Send a chat message

Authorizations

API-Token
string
header
required

16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.

Body

application/json
agent_uuid
string
required

Unique identifier of the agent handling the session.

Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

chat_session_id
string
required

Session ID returned by the Start Chat Session endpoint.

Example:

"4718a326-417b-4dda-90d0-21fd65a11cb8"

message
string
required

The user's message.

Example:

"What are your business hours?"

Response

Message sent and agent response returned

success
boolean
Example:

true

data
object