Skip to main content
POST
/
session
/
{agent_id}
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>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.soca.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

private_key
string
header
required

Path Parameters

agent_id
string
required

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

Response

Indicates that the session was created successfully.

status
boolean

Chat has been delivered successfully

message
string

Response timestamp in ISO 8601 format.

data
object

Same session ID as in the request.