Skip to main content
POST
/
v1
/
voice
/
design
/
{id}
/
save
Save a designed voice
curl --request POST \
  --url https://api.pyai.com/v1/voice/design/{id}/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "candidate_id": "c1",
  "name": "Support — Nova",
  "metadata": {}
}
'
{
  "voice_id": "vd_7h16k",
  "name": "Support — Nova",
  "source": "design"
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Design id.

Body

application/json
candidate_id
string
required
Example:

"c1"

name
string
required
Example:

"Support — Nova"

metadata
object

Response

Saved voice

voice_id
string
Example:

"vd_7h16k"

name
string
Example:

"Support — Nova"

source
string
Example:

"design"