POST
/
voices
curl --request POST \
  --url https://api.voxia.ai/voices \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "voiceId": "<string>",
  "isMultilingual": false,
  "supportedLocales": [
    "<string>"
  ],
  "voiceProviderType": "ELEVENLABS",
  "settings": {
    "stability": 0.5,
    "similarity_boost": 0.5,
    "speed": 123
  },
  "subAccounts": false
}'
[
  {
    "id": "<string>",
    "voiceId": "<string>",
    "name": "<string>",
    "organizationId": "<string>",
    "settings": {
      "stability": 0.8,
      "style": 0.3
    },
    "isMultilingual": true,
    "supportedLocales": [
      "<string>"
    ],
    "ttsClient": "<string>"
  }
]

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

The body is of type object.

Response

200
application/json

Array of newly created Voice objects

The response is of type object[].