Email Routing
email_routing
Methods
Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.
Enable you Email Routing zone. Add and lock the necessary MX and SPF records.
Get information about the settings for your Email Routing zone.
Domain types
Addresses
email_routing.addresses
Methods
Create a destination address to forward your emails to. Destination addresses need to be verified before they can be used.
Deletes a specific destination address.
Gets information for a specific destination email already created.
Lists existing destination addresses.
Domain types
email_routing.dns
Methods
Enable you Email Routing zone. Add and lock the necessary MX and SPF records.
Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.
Unlock MX Records previously locked by Email Routing.
Show the DNS records needed to configure your Email Routing zone.
Domain types
Rules
email_routing.rules
Methods
Rules consist of a set of criteria for matching emails (such as an email being sent to a specific custom email address) plus a set of actions to take on the email (like forwarding it to a specific destination address).
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Identifier
Whether the API call was successful
Delete a specific routing rule.
Get information for a specific routing rule already created.
Lists existing routing rules.
Update actions and matches, or enable/disable specific routing rules.
Domain types
email_routing.rules.catch_alls
Methods
Get information on the default catch-all routing rule.
Enable or disable catch-all routing rule, or change action to forward to specific destination address.
Domain types