Activate Email Sending
Registers the domain with Resend and turns on open/click tracking through trackingSubdomain, defaulting to links. Does not start verification and does not return the record set. Read DNS from Get Domain (emailConfig.records), add those records, then call Verify Email DNS. Sets sending status to PENDING.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the domain.
ID of the domain.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Subdomain to serve open and click tracking from, e.g. links for links.acme.com. Defaults to links.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/domains/string/activate-email" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "createdAt": "string", "updatedAt": "string", "emailStatus": "INACTIVE", "emailProvider": "string", "emailProviderDomainId": "string", "emailReceivingStatus": "INACTIVE", "emailReceivingProviderId": "string", "trackingSubdomain": "string", "trackingVerificationStatus": "PENDING", "shortlinkEnabled": true, "vercelConfigured": true, "vercelVerificationStatus": "PENDING", "vercelVerificationError": "string", "vercelVerificationDNS": [ { "domain": "string", "reason": "string", "type": "string", "value": "string" } ], "emailVerificationRequestedAt": "string", "receivingVerificationRequestedAt": "string", "shortlinkVerificationRequestedAt": "string", "senderReputationComputedAt": "string", "warmupStatus": "PENDING", "warmupStartedAt": "string", "warmupWindowStartedAt": "string", "projectId": "string", "name": "string", "senderReputation": 50, "warmupDay": 0, "warmupSentCount": 0}Delete Domain
Permanently removes the domain from the project. Returns 404 if it does not exist. Cannot be undone.
Activate Email Receiving
Turns inbound email on for the domain. The hostname stays registered; this only enables receiving. Read the MX records from Get Email Receiving Config, add them, then call Verify Email Receiving DNS before mail is accepted.