KumkuatKumkuat
API reference › Voices

Add a voice

POST/api/v1/voices

POST/api/v1/voices

Add a voice

`{"executive": "<name>"} materialises an executive named on the workspace's<br/>documents as a tuned voice persona (one model call on first creation; an existing<br/>voice is re-enabled). {"persona_id": "<id>"}` offers an existing persona as a<br/>voice. Answers 201 with the voice.

REQUEST BODY · APPLICATION/JSON · REQUIRED
{
  "executive": "Jane Doe"
}
In the full reference
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/voices" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "executive": "Jane Doe"
}'
RESPONSE
201Created
{
  "created": true,
  "enabled": true,
  "kind": "executive",
  "name": "Jane Doe",
  "persona_id": "d4e9b2a1-6c3f-4b8e-9f21-0a7c5e3d1b60",
  "tuned": true
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.