---
search:
  tags:
    - API keys
    - GET
seo:
  description: >-
    Newest first, with cursor pagination: after takes the last id of a page and
    pages toward… Reference for the GET /api-keys endpoint in the BillionSend
    API.
sidebar:
  label: List API keys
  badge: GET
title: List API keys
type: openapi-operation
---
Newest first, with cursor pagination: `after` takes the last id of a page and pages toward older items, `before` takes the first id and pages back toward newer ones. A key held to one domain lists only the keys held to that same domain.

`GET /api-keys`

**Responses**

- `200` — API keys (never tokens)
- `401` — Missing, malformed, unknown or revoked API key
- `422` — Validation error
- `429` — Over the rate limit (rate\_limit\_exceeded, with Retry-After)

Response example, 200:

```json
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "created_at": "string",
      "last_used_at": "string",
      "inbox_id": "5127f22b-d152-46dd-aeaa-3a852d9fbfc2"
    }
  ],
  "has_more": true
}
```
