List API Keys

List all API keys for the organization. The full token is not returned for security reasons.

GET/api-keys

Resend Compatibility: Compatible

Requires a full_access API key.

Query Parameters

limitnumber

Maximum number of results to return. Min 1, max 100. Default 100.

afterstring

Cursor for forward pagination.

beforestring

Cursor for backward pagination.

Response Fields

objectstring

Always "list".

has_moreboolean

Whether there are more results available.

dataarray

Array of API key objects (without tokens).

curl -X GET 'https://api.postflare.app/api-keys' \
  -H 'Authorization: Bearer re_xxxxxxxxx'
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.apiKeys.list();

Response

Response
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Production Key",
      "created_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}