provider Single Use Token POST
/v1/single-use-token/{token_type} @utdk/elevenlabs
/v1/single-use-token/{token_type} Create Single Use Token
Generate a time limited single-use token with embedded authentication for frontend clients.
- token_type path required
- enum: realtime_scribe, tts_websocket
- xi-api-key header
- Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getSingleUseToken()