Skip to main content
POST
/
compose
/
token
Compose Session Token
curl --request POST \
  --url https://api.simli.ai/compose/token \
  --header 'Content-Type: application/json' \
  --header 'x-simli-api-key: <api-key>' \
  --data '
{
  "faceId": "<string>",
  "apiVersion": "<string>",
  "sessionAggregator": "<string>",
  "handleSilence": true,
  "maxSessionLength": 3600,
  "maxIdleTime": 300,
  "startFrame": 0,
  "audioInputFormat": "pcm16"
}
'
{
  "session_token": "<string>"
}

Authorizations

x-simli-api-key
string
header
required

Body

application/json
faceId
string
required
apiVersion
string
Allowed value: "v2"
sessionAggregator
string | null
handleSilence
boolean
default:true
maxSessionLength
integer
default:3600
maxIdleTime
integer
default:300
startFrame
integer
default:0
audioInputFormat
string
default:pcm16

Response

Successful Response

session_token
string