Hear a voice before assigning it

POSThttps://server.heyrik.com/api/v1/voices/preview

Headers

AuthorizationstringRequired

Use Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.

Get your API key

Parameters 2

Fields documented for this operation. See the request example for placement and structure.

voice_idstringRequired

Library or cloned voice id to speak with.

textstring

What to say. Defaults to a sample in the voice's own language.

Response

No response example is documented for this operation yet.

Error reference
POST/voices/preview
cURL
curl -X POST https://server.heyrik.com/api/v1/voices/preview \
  -H "Authorization: Bearer $HEYRIK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "voice_id": "vx_9f2a1c30", "text": "Hello, this is a preview." }'

Illustrative examples · No live request is sent

Docs

Build sophisticated voice experiences with HeyRik.

© 2026 HeyRik · Support