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": 0,
  "rate": 15
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "voice_azure",
  "voice_name": "<string>",
  "pitch": 0,
  "rate": 15
}

Authorizations

Authorization
string
header
required

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
Successful Response
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