Skip to main content
POST
/
voices
Create a new voice
curl --request POST \
  --url https://api.callers.ai/voices \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "voiceId": "<string>",
  "voiceProviderType": "ELEVENLABS",
  "isMultilingual": false,
  "supportedLocales": [
    "en-US"
  ],
  "settings": {},
  "subAccounts": false
}
'
[
  {
    "id": "<string>",
    "voiceId": "<string>",
    "name": "<string>",
    "isMultilingual": true,
    "supportedLocales": [
      "<string>"
    ],
    "ttsClient": "<string>",
    "organizationId": "<string>",
    "settings": {
      "stability": 0.8,
      "style": 0.3
    }
  }
]

Authorizations

Authorization
string
header
required

Headers

x-sub-organization-id
string

Optional sub organization ID. Must belong to your main organization API key.

Body

application/json

Payload for creating a new voice

name
string
required
Minimum string length: 5
voiceId
string
required
Minimum string length: 5
voiceProviderType
enum<string>
required
Available options:
ELEVENLABS,
CARTESIA,
GOOGLE_CLOUD
isMultilingual
boolean
default:false
supportedLocales
enum<string>[]
Available options:
en-US,
en-GB,
en-AU,
en-CA,
en-IE,
en-IN,
en-NZ,
en-ZA,
en-SG,
es-ES,
es-MX,
fr-FR,
pt-BR,
zh-CN,
cmn-EN,
nl-NL,
fi-FI,
de-DE,
de-AT,
de-CH,
de-LU,
de-LI,
gsw-CH,
gsw-LI,
el-GR,
hi-IN,
en-TA,
id-ID,
it-IT,
ja-JP,
ko-KR,
ms-MY,
en-MS,
ro-RO,
ru-RU,
uk-UA,
bg-BG,
cs-CZ,
da-DK,
pl-PL,
sk-SK,
sv-SE,
tr-TR,
ar-SA,
ary-MA,
arz-EG,
apc-LB,
apc-SY,
apc-PS,
apc-JO,
acm-IQ,
ar-AE,
afb-AE,
afb-BH,
afb-KW,
afb-QA,
afb-OM,
hr-HR,
hr-BA,
he-IL,
ur-PK,
hu-HU,
fil-PH,
th-TH
settings
object
subAccounts
boolean
default:false

Response

Array of newly created Voice objects

id
string
required

The ID of the voice

voiceId
string
required

The provider-specific voice ID

name
string
required

The name of the voice

isMultilingual
boolean
required

Indicates if the voice supports multiple languages

supportedLocales
string[]
required

Array of supported locale strings

ttsClient
string
required

Identifier for the TTS (text-to-speech) client

organizationId
string

The organization ID that owns this voice

settings
object

Additional settings stored in JSON format

Example:
{ "stability": 0.8, "style": 0.3 }