API reference · Voices and catalog

Play a voice sample

GEThttps://goblins-call-api.onrender.com/v1/providers/voices/:id/preview

Streams a voice’s sample clip as audio.

Needs a workspace API key.

Path parameters

idstringRequired

A voice ID from List voices.

Errors

404

The 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.wav
Response · 200 OK
(audio bytes, with a Content-Type such as audio/wav)