Skip to main content
GET
/
v1
/
custom-voices
/
{voice_id}
Get single cloned voice
curl --request GET \
  --url https://supertoneapi.com/v1/custom-voices/{voice_id} \
  --header 'x-sup-api-key: <api-key>'
import requests

url = "https://supertoneapi.com/v1/custom-voices/{voice_id}"

headers = {"x-sup-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-sup-api-key': '<api-key>'}};

fetch('https://supertoneapi.com/v1/custom-voices/{voice_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://supertoneapi.com/v1/custom-voices/{voice_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-sup-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://supertoneapi.com/v1/custom-voices/{voice_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-sup-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
HttpResponse<String> response = Unirest.get("https://supertoneapi.com/v1/custom-voices/{voice_id}")
.header("x-sup-api-key", "<api-key>")
.asString();
{
  "voice_id": "voice_123456789",
  "name": "My Custom Voice",
  "description": "A warm and friendly voice for customer service"
}
{
"status": "error",
"message": {
"message": "Invalid API Key",
"error": "Unauthorized"
}
}
{
"status": "error",
"message": {
"message": "Voice not found",
"error": "Not Found"
}
}
{
"status": "error",
"message": {
"message": "Failed to convert text to speech",
"error": "Internal Server Error"
}
}
Returns a single custom voice object owned by your account.

Endpoint

GET https://supertoneapi.com/v1/custom-voices/{voice_id}

Path parameters

NameRequiredDescription
voice_idThe ID of the custom voice.

Notes

  • Returns 404 Not Found if the voice_id doesn’t exist on your account.
  • Returns 403 Forbidden if the voice exists but belongs to a different account.

See also

Docs: Custom voices

Create, manage, and use cloned voices.

Edit custom voice

Update name or description.

Authorizations

x-sup-api-key
string
header
required

Path Parameters

voice_id
string
required

Response

Custom voice details

voice_id
string
required

Unique identifier for the voice

Example:

"voice_123456789"

name
string
required

Name of the voice

Example:

"My Custom Voice"

description
string | null

Description of the voice

Example:

"A warm and friendly voice for customer service"