Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bot_id
string
required

The agent id associated with the trained agent model.

Body

application/json
message
string
required

The message to send to your agent.

chat_session_id
string

The chat session id to keep track of a unique conversation. If not provided, it will default to generate a new one each time.

streaming
boolean
default:false

Whether to enable streaming response. Defaults to false.

Response

Message response

message
string
required

The reply message from your agent.

Example:

"Hello there! 😄 How can I assist you today?"

chat_session_id
string
required

The chat session id to keep track of a unique conversation.

Example:

"aki56d7-1719768767426"

id
string

The unique identifier for the message.

Example:

"d0135d64-2f4b-4a79-9b29-af76e4ea93a7"

urls
string[]

URLs related to the message.

Example:
docs
string[]

document links related to the message.

Example: