Endpoint: POST /v2/chat/

This endpoint allows interaction with an agent by sending a chat request. This enables a user to initiate or continue a conversation with the agent by passing relevant session data.

Parameters

user_id
string
required

The unique identifier of the user interacting with the agent.

agent_id
string
required

The unique identifier of the agent handling the chat.

session_id
string
required

The session ID to maintain context across multiple interactions.

message
string
required

The user’s message or query to the agent.

Response Parameters

response
string

The agent’s reply based on the user’s input message.