Skip to navigation

Create Single Use Token

Generate a time limited single-use token with embedded authentication for frontend clients.

Path parameters

token_typeenumRequired
Allowed values:

Headers

xi-api-keystringOptional

Query parameters

max_session_duration_secondsinteger or nullOptional

Closes the realtime transcription session opened with this token after this many seconds. Only for realtime_scribe tokens.

Response

Successful Response
tokenstring
A time bound single use token that expires after 15 minutes. Will be consumed on use.

Errors

422
Unprocessable Entity Error