List Domains

List all domains for the organization with cursor-based pagination.

GET/domains

Resend Compatibility: Compatible

Requires an API key with domains:read permission.

Query Parameters

limitnumber

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

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 domain summaries (without DNS records). Each item includes id, name, status, created_at, region, capabilities, open_tracking, and click_tracking.

curl -X GET 'https://api.postflare.dev/domains' \
  -H 'Authorization: Bearer sk_xxxxxxxxx'
// Set RESEND_BASE_URL=https://api.postflare.dev in the environment before
// the process starts. Without it the SDK sends to api.resend.com, silently.
import { Resend } from 'resend';

const resend = new Resend('sk_xxxxxxxxx');

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

Response

Response
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "d91cd9bd-1176-453e-8fc1-35364d380206",
      "name": "example.com",
      "status": "verified",
      "created_at": "2026-01-01T00:00:00.000Z",
      "region": "global",
      "capabilities": { "sending": "enabled", "receiving": "disabled" },
      "open_tracking": true,
      "click_tracking": true
    }
  ]
}