POST
/
v1
/
voices
/
create
curl --request POST \
  --url https://api.vocode.dev/v1/voices/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "voice_azure",
  "voice_name": "<string>",
  "pitch": 123,
  "rate": 123
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "voice_azure",
  "voice_name": "<string>",
  "pitch": 123,
  "rate": 123
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required
Available options:
voice_azure
voice_name
string
required
pitch
integer
default: 0
rate
integer
default: 15

Response

200 - application/json
id
string
required
user_id
string
required
type
enum<string>
required
Available options:
voice_azure
voice_name
string
required
pitch
integer
default: 0
rate
integer
default: 15