Skip to navigation

Relay an ElevenLabs GET

View as Markdown

Passes the request to https://api.elevenlabs.io/{path} with the secret xi-api-key header added. Fits the read endpoints — v1/voices, v1/shared-voices, v1/models — and grabbing a realtime credential (v1/convai/conversation/get-signed-url).

Authentication

AuthorizationBearer

Your per-client bearer token — the API key the gateway issued to you. Present it in Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a 401. Before the call is sent upstream the token is removed (stripped, or swapped for the upstream’s own credential); it never makes it past the gateway.

Path parameters

pathstringRequired

The path to call on the ElevenLabs API, any further / segments included — all of it after /elevenlabs/ is passed to https://api.elevenlabs.io/ when the gateway’s allowlist admits the path. Examples: v1/text-to-speech/{voice_id}, v1/text-to-speech/{voice_id}/stream, v1/text-to-dialogue, v1/voices, v2/voices, v1/shared-voices, v1/models, v1/sound-generation, v1/speech-to-text, v1/voice-changer/{voice_id}, v1/audio-isolation, v1/convai/conversation/get-signed-url.

Response

Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

Errors

401
Unauthorized Error
404
Not Found Error