POST
/
v1
/
auth
/
session-token
curl --request POST \
  --url https://api.anam.ai/v1/auth/session-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clientLabel": "<string>",
  "personaConfig": {
    "name": "Cara",
    "avatarId": "30fa96d0-26c4-4e55-94a0-517025942e18",
    "voiceId": "6bfbe25a-979d-40f3-a92b-5394170af54b",
    "brainType": "ANAM_GPT_4O_MINI_V1",
    "systemPrompt": "You are a helpful assistant",
    "maxSessionLengthSeconds": 600
  }
}'

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200

Successfully started session