---
title: "Get Service Account Api Keys Route"
method: GET
path: "/v1/service-accounts/{service_account_user_id}/api-keys"
tags: ["workspace"]
---

# Get Service Account Api Keys Route

`GET /v1/service-accounts/{service_account_user_id}/api-keys`

## Request

- Base URL: `https://api.elevenlabs.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.elevenlabs.io/v1/service-accounts/{service_account_user_id}/api-keys`
- Auth: none declared

Get all API keys for a service account

## Path parameters

- `service_account_user_id` string, required

## Headers

- `xi-api-key` string, nullable: 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.

## Response `200`

Successful Response

- WorkspaceApiKeyListResponseModel
  - `api-keys` WorkspaceApiKeyResponseModel[], required
    - `name` string, required
    - `hint` string, required
    - `key_id` string, required
    - `service_account_user_id` string, required
    - `created_at_unix` integer, nullable
    - `is_disabled` boolean
    - `permissions` PermissionType[], nullable
    - `disable_reason` 'trial_ended' | 'subscription_downgrade' | 'exposed_publicly' | 'self_disabled'
    - `character_limit` integer, nullable: Maximum number of credits allowed in the current billing period.
    - `character_count` integer, nullable: Credits already used in the current billing period.
    - `hashed_xi_api_key` string, required
    - `allowed_ips` string[], nullable
    - `third_party_disable_allowed` boolean, nullable
    - `platform_limits` PlatformLimits: Unified container for all platform limits. Can be used by: - Billing groups (WorkspaceGroupDBModel.platform_limits) - Child workspaces (SubscriptionDBModel.platform_limits) - API keys (XiApiKeyMetadataDBModel.platform_limits) All fields are required when platform_limits exists. Use limit=None for unlimited.
      - `credits` StoredUsagePlatformLimit: Platform limit with usage stored in Firestore. Example: credit usage tracked in Firestore.
        - `limit` integer, nullable
        - `usage` integer: Current usage
      - `pvc` ComputedUsagePlatformLimit: Platform limit with usage computed externally. Example: PVCs use the count_owned_pro_voices_in_billing_group function to compute the usage.
        - `limit` integer, nullable
      - `concurrency` ComputedUsagePlatformLimit: Platform limit with usage computed externally. Example: PVCs use the count_owned_pro_voices_in_billing_group function to compute the usage.
        - `limit` integer, nullable
      - `dubbing_concurrency` ComputedUsagePlatformLimit: Platform limit with usage computed externally. Example: PVCs use the count_owned_pro_voices_in_billing_group function to compute the usage.
        - `limit` integer, nullable
      - `music_concurrency` ComputedUsagePlatformLimit: Platform limit with usage computed externally. Example: PVCs use the count_owned_pro_voices_in_billing_group function to compute the usage.
        - `limit` integer, nullable
    - `expires_at_unix` integer, nullable: Unix timestamp (seconds) after which this API key stops working. Null means the key never expires.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-26** `169936a30a2d`: 1 info
  - added the optional property `api-keys/items/expires_at_unix` to the response with the `200` status
- **2026-10-08** `bfa9d7a4aa2a`: 2 warning
  - added the new `voice_collections_read` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
  - added the new `voice_collections_write` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
- **2026-09-04** `d393c67c384a`: 1 info
  - added the optional property `api-keys/items/platform_limits` to the response with the `200` status
- **2026-07-13** `009bd651509a`: 4 warning, 2 info
  - added the new `conversation_privacy_manage` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
  - added the new `flows` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
  - added the new `synthid_detector` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
  - added the new `templates` enum value to the `api-keys/items/permissions/anyOf[subschema #1]/items/` response property for the response status `200`
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/changes/v1/service-accounts/:service_account_user_id/api-keys/get.md)

---

[API](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation.md) - [All operations](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/elevenlabs/apis/elevenlabs-api-documentation/revisions/d04f5e77c40a?raw)
