Email Routing
Get Email Routing settings
GET/zones/{zone_id}/email/routing
Update Email Routing settings
PATCH/zones/{zone_id}/email/routing
Update Email Routing settings
PUT/zones/{zone_id}/email/routing
ModelsExpand Collapse
Settings object { id, enabled, name, 6 more }
Settings object { id, enabled, name, 6 more }
status: optional "ready" or "unconfigured" or "misconfigured" or 2 moreShow the state of your account, and the type or configuration error.
status: optional "ready" or "unconfigured" or "misconfigured" or 2 more
Show the state of your account, and the type or configuration error.
Email RoutingDNS
Email Routing - DNS settings
GET/zones/{zone_id}/email/routing/dns
Enable Email Routing
POST/zones/{zone_id}/email/routing/dns
Unlock Email Routing
PATCH/zones/{zone_id}/email/routing/dns
Disable Email Routing
DELETE/zones/{zone_id}/email/routing/dns
ModelsExpand Collapse
DNSRecord object { content, name, priority, 2 more } List of records needed to enable an Email Routing zone.
DNSRecord object { content, name, priority, 2 more }
List of records needed to enable an Email Routing zone.
DNSGetResponse = object { errors, messages, success, 2 more } or object { errors, messages, success, 2 more }
DNSGetResponse = object { errors, messages, success, 2 more } or object { errors, messages, success, 2 more }
One of the following:
EmailEmailRoutingDNSQueryResponse object { errors, messages, success, 2 more }
EmailEmailRoutingDNSQueryResponse object { errors, messages, success, 2 more }
result: optional object { errors, record }
result: optional object { errors, record }
errors: optional array of object { code, missing }
errors: optional array of object { code, missing }
EmailDNSSettingsResponseCollection object { errors, messages, success, 2 more }
EmailDNSSettingsResponseCollection object { errors, messages, success, 2 more }
Email RoutingRules
List account or zone routing rules
GET/{accounts_or_zones}/{account_or_zone_id}/email/routing/rules
Get routing rule
GET/zones/{zone_id}/email/routing/rules/{rule_identifier}
Create routing rule
POST/zones/{zone_id}/email/routing/rules
Update routing rule
PUT/zones/{zone_id}/email/routing/rules/{rule_identifier}
Delete routing rule
DELETE/zones/{zone_id}/email/routing/rules/{rule_identifier}
ModelsExpand Collapse
EmailRoutingRule object { id, actions, enabled, 5 more }
EmailRoutingRule object { id, actions, enabled, 5 more }
Email RoutingRulesCatch Alls
Get catch-all rule
GET/zones/{zone_id}/email/routing/rules/catch_all
Update catch-all rule
PUT/zones/{zone_id}/email/routing/rules/catch_all
ModelsExpand Collapse
CatchAllGetResponse object { id, actions, enabled, 4 more }
CatchAllGetResponse object { id, actions, enabled, 4 more }
CatchAllUpdateResponse object { id, actions, enabled, 4 more }
CatchAllUpdateResponse object { id, actions, enabled, 4 more }
Email RoutingAccount Rules
List account or zone routing rules
GET/{accounts_or_zones}/{account_or_zone_id}/email/routing/rules
ModelsExpand Collapse
AccountRule object { id, actions, enabled, 6 more }
AccountRule object { id, actions, enabled, 6 more }
source: optional "api" or "wrangler"Who manages the rule. api covers dashboard, generic API, and Terraform;
wrangler means the rule is managed by a Worker’s wrangler.jsonc. Defaults
to api when omitted on write.
source: optional "api" or "wrangler"
Who manages the rule. api covers dashboard, generic API, and Terraform;
wrangler means the rule is managed by a Worker’s wrangler.jsonc. Defaults
to api when omitted on write.
Email RoutingAddresses
List destination addresses
GET/accounts/{account_id}/email/routing/addresses
Get a destination address
GET/accounts/{account_id}/email/routing/addresses/{destination_address_identifier}
Create a destination address
POST/accounts/{account_id}/email/routing/addresses
Update destination address
PATCH/accounts/{account_id}/email/routing/addresses/{destination_address_identifier}
Delete destination address
DELETE/accounts/{account_id}/email/routing/addresses/{destination_address_identifier}