POST/api/v1/personas/{persona_id}/voice-profiles/{profile_id}/set-default
Set default voice profile
Set a voice profile as the default for content generation.
PARAMETERS
- persona_idpath · stringREQUIRED
- Persona id, as returned by GET /api/v1/personas.e.g. string
- profile_idpath · stringREQUIRED
- Voice profile id, as listed by GET /api/v1/personas/{persona_id}/voice-profiles.e.g. string
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/personas/string/voice-profiles/string/set-default" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/personas/string/voice-profiles/string/set-default", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/personas/string/voice-profiles/string/set-default", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
