Get subtitles for transcript

<Note>To retrieve your transcriptions on our EU server, replace `api.assemblyai.com` with `api.eu.assemblyai.com`.</Note> Export your transcript in SRT or VTT format to use with a video player for subtitles and closed captions.

Authentication

Authorizationstring
API Key authentication via header

Path parameters

transcript_idstringRequired
ID of the transcript
subtitle_formatenumRequired
The format of the captions
Allowed values:

Query parameters

chars_per_captionintegerOptional
The maximum number of characters per caption

Response

The exported captions as text

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error
504
Gateway Timeout Error