Skip to main content
POST
cURL

Authorizations

private_key
string
header
required

Path Parameters

agent_id
string
required

The unique identifier of a Soca AI agent created in the Studio.

Body

application/json

Message payload to be sent to the AI Agent.

prompt
string
required

Chat send by users to Soca AI.

session_id
string
required

Session ID for this message.

Response

Chat has been sent.

status
boolean

Chat has been delivered successfully

data
object

Same session ID as in the request.