POST
/
v2
/
realtime
/
token
curl --request POST \
  --url https://api.assemblyai.com/v2/realtime/token \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expires_in": 480
}'
{
  "token": "fe4145dd1e7a2e149488dcd2d553a8018a89833fc5084837d66fd1bcf5a105d4"
}

Authorizations

Authorization
string
header
required

Body

application/json

Params to create a temporary authentication token

The body is of type object.

Response

200
application/json

Temporary authentication token generated

The response is of type object.