List voices
curl --request GET \
--url https://app.voho.ai/v1/voices \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.voho.ai/v1/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.voho.ai/v1/voices', 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://app.voho.ai/v1/voices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.voho.ai/v1/voices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.voho.ai/v1/voices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.voho.ai/v1/voices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"count": 123,
"dialects": [
{
"id": "<string>",
"label": "<string>"
}
],
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"formats": [
{
"id": "<string>",
"content_type": "<string>",
"default_sample_rate": 123
}
],
"streaming": {
"endpoint": "<string>",
"model": "<string>",
"formats": [
{}
]
},
"voices": [
{
"id": "layla",
"name": "Layla",
"gender": "female",
"age": "18-30",
"language": "ar-SA",
"dialect": "najdi",
"country": "Saudi Arabia",
"styles": [
"Professional"
]
}
]
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API token."
}
}List voices
The voice catalog plus the models, formats, and streaming capabilities available to you. Filters combine with AND.
GET
/
v1
/
voices
List voices
curl --request GET \
--url https://app.voho.ai/v1/voices \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.voho.ai/v1/voices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.voho.ai/v1/voices', 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://app.voho.ai/v1/voices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.voho.ai/v1/voices"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.voho.ai/v1/voices")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.voho.ai/v1/voices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"count": 123,
"dialects": [
{
"id": "<string>",
"label": "<string>"
}
],
"models": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>"
}
],
"formats": [
{
"id": "<string>",
"content_type": "<string>",
"default_sample_rate": 123
}
],
"streaming": {
"endpoint": "<string>",
"model": "<string>",
"formats": [
{}
]
},
"voices": [
{
"id": "layla",
"name": "Layla",
"gender": "female",
"age": "18-30",
"language": "ar-SA",
"dialect": "najdi",
"country": "Saudi Arabia",
"styles": [
"Professional"
]
}
]
}{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API token."
}
}Authorizations
API token from the Voho console. Begins with voho_sk_live_.
Query Parameters
Available options:
najdi, gulf, hijazi, msa, egyptian Available options:
female, male Matched against the start of the locale.
Example:
"ar"
Available options:
Professional, Formal, Casual, Energetic ⌘I

