---
title: "List a customer's mailbox keys"
method: GET
path: "/customers/{id}/api-keys"
tags: ["Partners"]
---

# List a customer's mailbox keys

`GET /customers/{id}/api-keys`

## Request

- Base URL: `https://faivelo.com/api/partner`
- URL: `https://faivelo.com/api/partner/customers/{id}/api-keys`
- Auth: HTTP bearer

Live mailbox keys on the customer, newest first. The plaintext is never shown again. Requires `partner:read`.

## Path parameters

- `id` string, required

## Response `200`

The keys

- object
  - `success` boolean
  - `data` PartnerCustomerApiKey[]
    - `id` string
    - `name` string
    - `prefix` string: Display fragment of the key
    - `scopes` string[]
    - `mailbox` string, nullable: Bound mailbox, or null for every mailbox on the customer
    - `lastUsedAt` string, date-time, nullable
    - `expiresAt` string, date-time, nullable
    - `createdAt` string, date-time

## Other responses

- `401`: Missing or invalid API key, or not a partner key
- `403`: The key lacks the required scope, or provisioning is refused (partner paused, customer cap reached)
- `404`: Not found, including any customer that is not yours
- `429`: Rate limit exceeded

---

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