#is there any api for fetching user token

1 messages · Page 1 of 1 (latest)

humble flumeBOT
#
AI-generated Answer for zqilk

Short answer: No—there is no API to fetch or reveal a user’s API key. API keys are created in the dashboard and are only shown once at creation; afterwards you can’t retrieve the full key via API. (help.elevenlabs.io)

What you can do instead:

  • Use your server-side API key in the xi-api-key header for normal requests. (elevenlabs.io)
  • If you need a client-safe credential, generate a time‑limited single‑use token:
    • Endpoint: POST /v1/single-use-token/:token_type
    • Supported token_type values today: tts_websocket, realtime_scribe
    • Returns token that expires after 15 minutes (consumed on use)
      These are designed for frontend use without exposing your API key. (elevenlabs.io)
  • Some realtime/WebSocket flows also support authenticating with a token (or a signed URL generated by your server). (elevenlabs.io)

If you meant something else by “user token,” tell me the exact flow/endpoints you’re targeting and I’ll point you to the relevant doc. (elevenlabs.io)

Sources:
How do I authorize myself using an API key? – ElevenLabs
API Authentication | ElevenLabs Documentation
Create Single Use Token | ElevenLabs Documentation
Realtime | ElevenLabs Documentation
Introduction | ElevenLabs Documentation

nova orbit
#

no like can i see how much token i have left in my account