Before you start
Mint an API key (see Authentication) and export it:requests package (pip install requests).
1. Create the transcription job
Pass the file’s direct https link asurl. The response gives you a job id
and its status.
The request body fields are:
The link is checked before the job is created. If it does not point to
reachable media, the request answers with an error code starting with
url_.
A 400 means you need to fix the URL; a 502 or 504 means you can retry later.
See Errors and limits for each code.
If your account has no credit left for this request, it returns 402 with the
error code insufficient_api_credits.
2. Follow the job and read the result
From here the job behaves exactly like one created from an uploaded file:- Poll
GET /api/v1/transcription-jobs/{id}untilstatusiscompletedorfailed. See Poll the job. - Or get notified by passing a
callback_url. See Webhooks. - Read the transcript from
GET /api/v1/transcription-jobs/{id}/transcriptor download an export. See Read the result.
Next steps
Webhooks
Get notified when a job finishes instead of polling.
Retrieve and export
Read a transcript and download an export.