ApiDomains
Delete your domain
Remove your organization's configured email domain from both the database and Resend.
Remove your organization's configured email domain from both the database and Resend.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication. Get your key from the dashboard.
In: header
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/domains"{
"success": true
}{
"error": "Invalid API key",
"message": "string"
}{
"error": "Invalid API key",
"message": "string"
}Add a domain POST
Create a custom email domain in Resend for sending notifications from your organization. Requires a Resend API key configured via BYOK. You can only have one domain configured per organization.
Select and sync a Resend domain POST
Select a domain from your Resend account to use for your organization's email notifications. This syncs the domain configuration to your organization.