curl --request POST \
--url https://www.api.vook.ai/api/v1/transcription-jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"language": "auto",
"diarize": false,
"upload_token": "<string>",
"url": "https://example.com/recordings/meeting.mp3",
"file_name": "meeting.mp3",
"name": "Team weekly sync",
"callback_url": "https://example.com/vook/webhook"
}
'import requests
url = "https://www.api.vook.ai/api/v1/transcription-jobs"
payload = {
"language": "auto",
"diarize": False,
"upload_token": "<string>",
"url": "https://example.com/recordings/meeting.mp3",
"file_name": "meeting.mp3",
"name": "Team weekly sync",
"callback_url": "https://example.com/vook/webhook"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
language: 'auto',
diarize: false,
upload_token: '<string>',
url: 'https://example.com/recordings/meeting.mp3',
file_name: 'meeting.mp3',
name: 'Team weekly sync',
callback_url: 'https://example.com/vook/webhook'
})
};
fetch('https://www.api.vook.ai/api/v1/transcription-jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.api.vook.ai/api/v1/transcription-jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'language' => 'auto',
'diarize' => false,
'upload_token' => '<string>',
'url' => 'https://example.com/recordings/meeting.mp3',
'file_name' => 'meeting.mp3',
'name' => 'Team weekly sync',
'callback_url' => 'https://example.com/vook/webhook'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.api.vook.ai/api/v1/transcription-jobs"
payload := strings.NewReader("{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.api.vook.ai/api/v1/transcription-jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.api.vook.ai/api/v1/transcription-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}"
response = http.request(request)
puts response.read_body{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "queued"
}Create a transcription job from an uploaded file or a URL
Send an upload_token from POST /api/v1/uploads/init, or a direct https url to a media file. A url is checked before the job is created: a link that is not reachable media answers with a url_* error code.
curl --request POST \
--url https://www.api.vook.ai/api/v1/transcription-jobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"language": "auto",
"diarize": false,
"upload_token": "<string>",
"url": "https://example.com/recordings/meeting.mp3",
"file_name": "meeting.mp3",
"name": "Team weekly sync",
"callback_url": "https://example.com/vook/webhook"
}
'import requests
url = "https://www.api.vook.ai/api/v1/transcription-jobs"
payload = {
"language": "auto",
"diarize": False,
"upload_token": "<string>",
"url": "https://example.com/recordings/meeting.mp3",
"file_name": "meeting.mp3",
"name": "Team weekly sync",
"callback_url": "https://example.com/vook/webhook"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
language: 'auto',
diarize: false,
upload_token: '<string>',
url: 'https://example.com/recordings/meeting.mp3',
file_name: 'meeting.mp3',
name: 'Team weekly sync',
callback_url: 'https://example.com/vook/webhook'
})
};
fetch('https://www.api.vook.ai/api/v1/transcription-jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.api.vook.ai/api/v1/transcription-jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'language' => 'auto',
'diarize' => false,
'upload_token' => '<string>',
'url' => 'https://example.com/recordings/meeting.mp3',
'file_name' => 'meeting.mp3',
'name' => 'Team weekly sync',
'callback_url' => 'https://example.com/vook/webhook'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.api.vook.ai/api/v1/transcription-jobs"
payload := strings.NewReader("{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.api.vook.ai/api/v1/transcription-jobs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.api.vook.ai/api/v1/transcription-jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"language\": \"auto\",\n \"diarize\": false,\n \"upload_token\": \"<string>\",\n \"url\": \"https://example.com/recordings/meeting.mp3\",\n \"file_name\": \"meeting.mp3\",\n \"name\": \"Team weekly sync\",\n \"callback_url\": \"https://example.com/vook/webhook\"\n}"
response = http.request(request)
puts response.read_body{
"id": "123e4567-e89b-12d3-a456-426614174000",
"status": "queued"
}Authorizations
Your Vook API key (mint one from the web app).
Body
Spoken language code, such as 'en' or 'fr'. Send 'auto' to let us detect it; the transcription then reports the detected code.
"auto"
Whether to diarize (separate speakers)
false
Upload token returned by POST /api/v1/uploads/init. Send either upload_token or url.
Direct https link to an audio or video file, such as a presigned object URL. We fetch it for you. Send either upload_token or url.
2048"https://example.com/recordings/meeting.mp3"
Original file name. Required with upload_token, optional with url.
"meeting.mp3"
Display name for the resulting transcription(s)
255"Team weekly sync"
Webhook endpoint notified once, when the job reaches a terminal status. Public https, standard port. Omit it to poll instead.
2048"https://example.com/vook/webhook"