Docs
Domains

List Domains

List all domains on your team.

GET/domains

This endpoint takes no parameters.

import { Resend } from 'resend';

const client = new Resend('pw_xxxxxxxxx');

const { data, error } = await client.domains.list();
Try itGET/domains

No key yet? Create one in the dashboard.