apicheats.dev elevenlabs/llms.txt Raw .md
GET

/v1/service-accounts

ElevenLabs API

Get Workspace Service Accounts

Base URL
https://api.elevenlabs.io
Auth
xi-api-key: <ELEVENLABS_API_KEY>
Last verified
2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 110 tokens · Vary: Accept

Critical gotchas

Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.

Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.

cURL

curl -X GET 'https://api.elevenlabs.io/v1/service-accounts' \  -H "xi-api-key: $ELEVENLABS_API_KEY"
Get a free ElevenLabs API key → sponsored

Parameters

No parameters.

Response 200 OK

{
  "service-accounts": [
    {
      "service_account_user_id": "string",
      "name": "string",
      "created_at_unix": 0,
      "api-keys": [
        {
          "name": "string",
          "hint": "string",
          "key_id": "string",
          "service_account_user_id": "string",
          "created_at_unix": 0,
          "is_disabled": false,
          "permissions": [
            "[recursive or deeply nested schema]"
          ],
          "disable_reason": "trial_ended",
          "character_limit": 0,
          "character_count": 0,
          "hashed_xi_api_key": "string",
          "allowed_ips": [
            "[recursive or deeply nested schema]"
          ],
          "third_party_disable_allowed": true,
          "platform_limits": {
            "credits": "[recursive or deeply nested schema]",
            "pvc": "[recursive or deeply nested schema]",
            "concurrency": "[recursive or deeply nested schema]",
            "dubbing_concurrency": "[recursive or deeply nested schema]",
            "music_concurrency": "[recursive or deeply nested schema]"
          }
        }
      ],
      "default_sharing_groups": []
    }
  ]
}