cURL
curl --request POST \ --url https://api.example.com/v1/voices/third_party \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "provider_voice_id": "<string>", "secret_id": "<string>", "name": "<string>" } '
{ "code": 100, "data": { "voice_id": "<string>" }, "message": "<string>" }
Bind a third-party voice (e.g. ElevenLabs) using a stored secret.
Validates the secret can be used to bind a third-party voice and creates a voice record. Returns a voice_id usable in sessions.
Request body for POST /v1/voices/third_party - bind a third-party voice using a secret.
Voice ID from the provider (e.g. ElevenLabs voice ID)
ID of the space secret containing the provider API key
Name of the voice
Successful Response
Response from POST /v1/voices/third_party.
Show child attributes
Was this page helpful?