Skip to main content
POST
/
v1
/
session-passes
Start an Equos avatar sesssion.
curl --request POST \
  --url https://api.equos.ai/v1/session-passes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "avatar": {
    "id": "<string>"
  },
  "agent": {
    "id": "<string>"
  },
  "consumerIdentity": {
    "identity": "<string>",
    "name": "<string>"
  },
  "client": "<string>",
  "maxDuration": 123,
  "additionalCtx": "<string>",
  "templateVars": {}
}
'
{
  "session": {
    "id": "<string>",
    "organizationId": "<string>",
    "freemium": true,
    "name": "<string>",
    "provider": "<string>",
    "status": "<string>",
    "host": {
      "serverUrl": "<string>"
    },
    "avatar": {
      "id": "<string>",
      "organizationId": "<string>",
      "identity": "<string>",
      "name": "<string>",
      "description": "<string>",
      "thumbnailUrl": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "client": "<string>",
      "agentId": {},
      "agent": {}
    },
    "startedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "client": "<string>",
    "maxDuration": 123,
    "additionalCtx": "<string>",
    "templateVars": {},
    "avatarId": "<string>",
    "agentId": "<string>",
    "agent": {
      "id": "<string>",
      "organizationId": "<string>",
      "provider": "openai",
      "search": true,
      "emotions": true,
      "memory": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "client": "<string>",
      "model": "gemini-2.5-flash-native-audio-preview-09-2025",
      "voice": "Puck",
      "instructions": "<string>",
      "greetingMsg": "<string>",
      "remoteId": "<string>"
    },
    "remoteAgentIdentity": {},
    "transcript": {},
    "endedAt": "2023-11-07T05:31:56Z"
  },
  "consumerAccessToken": "<string>",
  "remoteAgentAccessToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
avatar
object
required

Existing equos avatar ID.

agent
object
required

Existing equos agent ID.

consumerIdentity
object
required

Identity of the end user that will interact with the agent in the session.

client
string

[Optional] User-side client identifier.

maxDuration
number

[Optional] Max session duration in seconds. Must be less than organization limit.

additionalCtx
string
templateVars
object

Response

201 - application/json
session
object
required
consumerAccessToken
string
remoteAgentAccessToken
string