---
title: "Get API key"
method: GET
path: "/v4/account/api-keys/{id}"
---

# Get API key

`GET /v4/account/api-keys/{id}`

Get a single API key by its UUID. Returns metadata only — the secret is never returned after creation. Permission: `account:apikeys:read`.

## Path parameters

- `id` string, uuid, required

## Response `200`

API key metadata (no secret)

- object
  - `success` boolean
  - `data` object
    - `id` string, uuid
    - `name` string
    - `permissions` string[]
    - `allowed_subaccounts` string[]
    - `allowed_ips` string[]
    - `expires_at` integer, nullable
    - `is_active` boolean
    - `last_used_at` integer, nullable — Unix timestamp of last use. Null if never used.
    - `token_preview` string, nullable
    - `created_at` integer — Unix timestamp of creation.

## Other responses

- `401` — Unauthorized
- `404` — API key not found
- `500` — Internal server error

---

[API](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api.md) · [All operations](https://skmtc.net/proxyscrape/apis/proxyscrape-account-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/proxyscrape/proxyscrape-account-api/versions/4e10267785e1/schema)
