Verify Domain
Trigger DNS verification for a domain. Checks all DNS records (SPF, DKIM, DMARC) and updates their status.
POST
/domains/{domain_id}/verifyResend Compatibility: Compatible
Requires a full_access API key.
Path Parameters
domain_idstringrequiredThe ID of the domain to verify.
Response Fields
objectstringAlways "domain".
idstringThe domain ID.
namestringThe domain name.
statusstringUpdated verification status (pending or verified).
created_atstringISO 8601 timestamp.
recordsarrayArray of DNS records with their updated verification status.
curl -X POST 'https://api.postflare.app/domains/d91cd9bd-1176-453e-8fc1-35364d380206/verify' \
-H 'Authorization: Bearer re_xxxxxxxxx'import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.domains.verify(
'd91cd9bd-1176-453e-8fc1-35364d380206'
);Response
{
"object": "domain",
"id": "d91cd9bd-1176-453e-8fc1-35364d380206",
"name": "example.com",
"status": "verified",
"created_at": "2026-01-01T00:00:00.000Z",
"records": [
{
"type": "SPF",
"name": "example.com",
"value": "v=spf1 include:_spf.postflare.com ~all",
"status": "verified",
"priority": null
}
]
}