---
title: "List API keys"
method: GET
path: "/secrets/api/keys"
tags: ["Secrets"]
---

# List API keys

`GET /secrets/api/keys`

Use when listing API keys (e.g. admin view or rotating keys). Returns a paginated list.

## Query parameters

- `limit` integer
- `offset` integer
- `status` string

## Response `200`

OK

- DtoListSecretsResponse
  - `items` DtoSecretResponse[]
    - `created_at` string
    - `display_id` string
    - `expires_at` string
    - `id` string
    - `last_used_at` string
    - `name` string
    - `provider` 'flexprice' | 'stripe' | 's3' | 'hubspot' | 'razorpay' | 'chargebee' | 'quickbooks' | 'nomod' | 'moyasar' | 'paddle'
    - `roles` string[] — RBAC roles
    - `status` 'published' | 'deleted' | 'archived'
    - `type` 'private_key' | 'publishable_key' | 'integration'
    - `updated_at` string
    - `user_type` 'user' | 'service_account'
  - `pagination` TypesPaginationResponse
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `400` — Invalid request
- `500` — Server error

## Changes

- **2026-03-20** `fdc2d8c76b76` — 1 warning
  - added the new `paddle` enum value to the `items/items/provider` response property for the response status `200`

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/secrets/api/keys/get.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/3d452eb9ebcc/schema)
