API reference · Voices and catalog
Play a voice sample
GET
https://goblins-call-api.onrender.com/v1/providers/voices/:id/previewStreams a voice’s sample clip as audio.
Needs a workspace API key.
Path parameters
idstringRequiredA voice ID from List voices.
Errors
404The voice does not exist or has no sample.
Every request can also answer 401, 429 and 500: see Errors.
curl "https://goblins-call-api.onrender.com/v1/providers/voices/VOICE_ID/preview" \
-H "Authorization: Bearer $CRACKLE_API_KEY" \
--output sample.wavResponse · 200 OK
(audio bytes, with a Content-Type such as audio/wav)