action sendgrid_get_whitelabel_domains_domain_id { label: "Retrieve an authenticated domain" description: "**This endpoint allows you to retrieve a specific authenticated domain.**" provider: sendgrid method: GET path: "/whitelabel/domains/{domain_id}" encoding: json output: { type: "object" required: ["automatic_security", "custom_spf", "default", "dns", "domain", "id", "ips", "legacy", "subdomain", "user_id", "username", "valid"] properties: { automatic_security: { type: "boolean" description: "Indicates if this authenticated domain uses automated security." } custom_spf: { type: "boolean" description: "Indicates whether this authenticated domain uses custom SPF." } default: { type: "boolean" description: "Indicates if this is the default authenticated domain." } dns: { type: "object" description: "The DNS records used to authenticate the sending domain." required: ["dkim1", "dkim2", "mail_cname"] properties: { dkim1: { type: "object" description: "A DNS record." required: ["data", "host", "type", "valid"] properties: { data: { type: "string" description: "The DNS record." } host: { type: "string" description: "The domain that this DNS record was created for." } type: { type: "string" description: "The type of DNS record." } valid: { type: "boolean" description: "Indicates if this is a valid DNS record." } } } dkim2: { type: "object" description: "A DNS record." required: ["data", "host", "type", "valid"] properties: { data: { type: "string" description: "The DNS record." } host: { type: "string" description: "The domain that this DNS record was created for." } type: { type: "string" description: "The type of DNS record." } valid: { type: "boolean" description: "Indicates if this is a valid DNS record." } } } mail_cname: { type: "object" description: "The CNAME for your sending domain that points to sendgrid.net." required: ["data", "host", "type", "valid"] properties: { data: { type: "string" description: "The CNAME record." } host: { type: "string" format: "hostname" description: "The domain that this CNAME is created for." } type: { type: "string" description: "The type of DNS record." } valid: { type: "boolean" description: "Indicates if this is a valid CNAME." } } } } } domain: { type: "string" description: "The domain to be authenticated." } id: { type: "number" description: "The ID of the authenticated domain." } ips: { type: "array" description: "The IPs to be included in the custom SPF record for this authenticated domain." items: { type: "string" } } legacy: { type: "boolean" description: "Indicates if this authenticated domain was created using the legacy whitelabel tool. If it is a legacy whitelabel, it will still function, but you'll need to create a new authenticated domain if you need to update it." } subdomain: { type: "string" description: "The subdomain to use for this authenticated domain." } user_id: { type: "number" description: "The ID of the user that this domain is associated with." } username: { type: "string" description: "The username that this domain will be associated with." } valid: { type: "boolean" description: "Indicates if this is a valid authenticated domain." } } } }