Skip to main content
This guide walks through creating a transcription from your own file. You mint a short-lived upload token, send the file to the upload host, then start a transcription job and poll it until the transcript is ready.
Two hosts are involved. The main API is https://www.api.vook.ai/api/v1. The file upload in step 2 goes to a separate upload host, https://ingress.vook.ai. Every request still authenticates with a Bearer token.

Before you start

Mint an API key (see Authentication) and export it:
The Python examples use the requests package (pip install requests).

The flow at a glance

Then poll the job until it completes and read each transcription it produced.

1. Get an upload token

Request a short-lived upload_token. You send this token with the file in the next step and again when you create the job.

2. Upload the file

Send the file to the upload host as multipart/form-data in a single request. Authenticate this request with the upload_token from step 1, not your API key.
The fields are: A success returns 201 with an empty JSON body ({}). You can ignore it.

3. Create the transcription job

Start the transcription. Pass the upload_token and the file details. The response gives you a job id and its status.
The request body fields are:

4. Poll the job

Poll the job by id until its status is completed. When it finishes, the transcription_ids array holds the transcriptions it produced.
The status field reflects where the job is in its lifecycle: When the job ends as partial or failed, error_code carries a short code describing the cause.

5. Read the result

Each id in transcription_ids is a regular transcription. Read it with the endpoints from Retrieve and export: fetch its status and metadata, get the transcript text, or download an export.
Python

Next steps

Retrieve and export

Read a transcript and download an export.

API Reference

Try every endpoint interactively in the playground.