Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Customer API key created in the Sendora dashboard.

Headers

X-API-Key
string | null
Authorization
string | null

Body

application/json
gender
string
required

Gender returned by the Sendora API.

Required string length: 1 - 50
name
string
required

Name returned by the Sendora API.

Required string length: 1 - 200
nationality
string
required

For example American or Indian

Required string length: 1 - 80
type
string
required

clone creates a voice from a speech sample; leave type out to add an existing connected service voice

Allowed value: "clone"
audio_base64
string | null

The sample itself, base64 encoded, up to 10 MB. Use audio_url for larger files

audio_url
string | null

A public https link to the speech sample (mp3, wav, m4a, ogg, webm or flac, up to 50 MB)

Maximum string length: 2000

Must be true: you confirm the speaker agreed to have their voice cloned

credential_mode
enum<string>
default:byok

Credential mode returned by the Sendora API.

Available options:
managed,
byok
description
string | null

Description returned by the Sendora API.

Maximum string length: 500
filename
string | null

With audio_base64: the file name, for example sample.mp3

Maximum string length: 200
language
string | null

Language returned by the Sendora API.

Maximum string length: 20

Response

Successful Response

The response is of type Response Add Custom Voice Api V1 Public Custom Voices Post · object.