cURL
curl --request POST \ --url https://api.soca.ai/v1/session/{agent_id} \ --header 'private_key: <api-key>'
{ "status": true, "message": "<string>", "data": { "session_id": "<string>" } }
Creates a new conversation session for a given agent.
The unique identifier of a Soca AI agent created in the Studio.
Indicates that the session was created successfully.
Chat has been delivered successfully
Response timestamp in ISO 8601 format.
Same session ID as in the request.
Show child attributes