---
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`

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

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/6c2d6eb4a7e6/schema)
