Domains
List Domains
Domains
List Domains
Retrieve a list of domains for the authenticated user.
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.domains.list();
{
"data": [
{
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"name": "example.com",
"status": "not_started",
"created_at": "2023-04-26T20:21:26.347412+00:00",
"region": "us-east-1"
}
]
}
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.domains.list();
{
"data": [
{
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"name": "example.com",
"status": "not_started",
"created_at": "2023-04-26T20:21:26.347412+00:00",
"region": "us-east-1"
}
]
}
Was this page helpful?
import { Resend } from 'resend';
const resend = new Resend('re_123456789');
resend.domains.list();
{
"data": [
{
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"name": "example.com",
"status": "not_started",
"created_at": "2023-04-26T20:21:26.347412+00:00",
"region": "us-east-1"
}
]
}