---
search:
  tags:
    - API Keys
    - GET
seo:
  description: >-
    Returns a page of the caller's own non-revoked API keys. Choose the initial
    page with limit,… Reference for the GET /api_keys endpoint in the REST API
    API.
sidebar:
  badge: GET
  label: List API Keys
title: List API Keys
type: openapi-operation
---
Returns a page of the caller's own non-revoked API keys. Choose the initial page with limit, sort, and order. When next_page_url is non-null, follow that relative URL unchanged to retrieve the next page; it preserves the effective query and carries the opaque cursor. Requires the keys:manage scope.

### Endpoint

- Method and path: `GET /api_keys`
- Operation ID: `listAPIKeys`
- API reference: [GET /api_keys](/api-reference/api-keys/listapikeys)

#### Authorization

- Accepted credentials: `UDX-Access-Key` header and `UDX-Access-Timestamp` header and `UDX-Access-Signature` header; or Bearer token in `Authorization`
- Details: [Authentication](/authentication)

#### Parameters

- `UDX-Version` (`header`) — Dated API version (YYYY-MM-DD). Omit to use the oldest supported version. An unknown version returns `400`.
- `limit` (`query`) — Maximum number of items to return in one page. Defaults to 10 when omitted; must be an integer from 1 to 100. A value outside that range is rejected with 400 rather than silently clamped. A returned next_page_url preserves the effective value.
- `page` (`query`) — Opaque token identifying the requested page. Clients should not construct or extract this value; follow next_page_url from the previous response unchanged instead.
- `sort` (`query`) — Field to sort by. Defaults to created_at. The API key's identifier is always appended as a tie-breaker, so the order is fully deterministic.
- `order` (`query`) — Sort direction. Defaults to desc. Applies to the default sort field when sort is omitted. Nulls sort last in both directions.

#### Responses

- `200` — The caller's API keys.
- `400` — Request doesn't conform to this spec.
- `401` — No valid credential was provided.
- `403` — The credential lacks the `keys:manage` scope.
- `429` — The member rate limit was exceeded. Wait for `Retry-After`.
- `500` — Something went wrong on UDX's side.
- `503` — Request admission is unavailable. Retry later.
