---
title: "List API keys"
method: GET
path: "/v1/accounts/api-keys"
tags: ["account"]
---

# List API keys

`GET /v1/accounts/api-keys`

## Request

- Base URL: `https://api.replylayer.ai`
- URL: `https://api.replylayer.ai/v1/accounts/api-keys`
- Auth: HTTP bearer

## Query parameters

- `include_revoked` boolean

## Response `200`

Success

- object
  - `keys` object[], required
    - `client_name` string, nullable
    - `connection_expires_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `id` string, required
    - `instruction_trust_enabled` boolean
    - `kind` 'static' | 'oauth'
    - `label` string, nullable
    - `last_used_at` string, date-time, nullable
    - `mailbox_ids` string[]
    - `prefix` string, nullable, required
    - `revoked_at` string, date-time, nullable
    - `revoked_by` string, nullable
    - `role` 'admin' | 'agent' | 'null', nullable
    - `status` 'active' | 'revoked', required

## Other responses

- `401`: Missing or invalid API key
- `403`: Forbidden (code: INSUFFICIENT_SCOPE)
- `429`: Rate limited (code: RATE_LIMITED)
- `500`: Internal error (code: INTERNAL_ERROR)

---

[API](https://skmtc.dev/replylayer/apis/replylayer-api.md) · [All operations](https://skmtc.dev/replylayer/apis/replylayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/replylayer/apis/replylayer-api/revisions/2cae6fbd127e?raw)
