Search + K

Command Palette

Search for a command to run...

Sign In

Email Routing - DNS settings

GET /zones/{zone_id}/email/routing/dns
Copy endpoint
https://api.cloudflare.com/client/v4

Show the DNS records needed to configure your Email Routing zone.

Parameters

path Path Parameters

Name Type
zone_id required
type EmailIdentifier = string

query Query Parameters

Name Type
subdomain
type EmailEmailSettingName = string

Responses

200 application/json

Email Routing - DNS settings response

type EmailEmailRoutingDnsQueryResponse = never | type EmailDnsSettingsResponseCollection = type EmailApiResponseCollection = never & { result?: EmailDnsRecord

List of records needed to enable an Email Routing zone.

interface EmailDnsRecord {
content?: string;
name?: string;
priority?: number;
ttl?: number | 1;
type?: "A" | "AAAA" | "CNAME" | "HTTPS" | "TXT" | "SRV" | "LOC" | "MX" | "NS" | "CERT" | "DNSKEY" | "DS" | "NAPTR" | "SMIMEA" | "SSHFP" | "SVCB" | "TLSA" | "URI";
}
[]
; }