Skip to main content
POST
/
v1
/
audio
/
transcriptions
/
stream
/
token
Create a streaming transcription token
curl --request POST \
  --url https://api.sully.ai/v1/audio/transcriptions/stream/token \
  --header 'Content-Type: application/json' \
  --header 'X-ACCOUNT-ID: <api-key>' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "expiresIn": 3600
}'
{
  "token": "tok_EXAMPLE123456789"
}

Authorizations

X-API-KEY
string
header
required
X-ACCOUNT-ID
string
header
required

Body

application/json
expiresIn
integer
required

Duration of the token in seconds

Required range: 60 <= x <= 604800
Example:

3600

Response

Audio transcription stream token

token
string
Example:

"tok_EXAMPLE123456789"