resend.createDomain adds a domain and returns the DNS records required for verification.
automations/create-resend-domain.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Add a sending or receiving domain to Resend.
resend.createDomain adds a domain and returns the DNS records required for verification.
import { automation } from "automate.ax"
import { resend } from "automate.ax/resend"
export default automation("Create Resend domain", () => {
resend.createDomain({
name: "example.com",
region: "us-east-1",
capabilities: { sending: "enabled", receiving: "disabled" },
})
})