SendGrid · Schema

Domain Authentication

EmailEmail APIMarketing EmailSMTPT1Transactional EmailEmail MarketingDeliverabilityMarketing

Properties

Name Type Description
id integer The ID of the authenticated domain.
domain string The domain authenticated.
subdomain string The subdomain that was used to create this authenticated domain.
username string The username of the account that this authenticated domain is associated with.
user_id integer The user_id of the account that this authenticated domain is associated with.
ips array The IP addresses that are included in the SPF record for this authenticated domain.
custom_spf boolean Indicates if this authenticated domain uses custom SPF.
default boolean Indicates if this is the default domain.
legacy boolean 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 n
automatic_security boolean Indicates if this authenticated domain uses automated security.
valid boolean Indicates if this is a valid authenticated domain .
dns object The DNS records for this authenticated domain.
View JSON Schema on GitHub

JSON Schema

sendgrid-authenticated-domain-spf-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-authenticated-domain-spf-schema.json",
  "title": "Domain Authentication",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-domain-authentication-api-openapi.yml#/components/schemas/AuthenticatedDomainSpf",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the authenticated domain."
    },
    "domain": {
      "type": "string",
      "description": "The domain authenticated."
    },
    "subdomain": {
      "type": "string",
      "description": "The subdomain that was used to create this authenticated domain."
    },
    "username": {
      "type": "string",
      "description": "The username of the account that this authenticated domain is associated with."
    },
    "user_id": {
      "type": "integer",
      "description": "The user_id of the account that this authenticated domain is associated with."
    },
    "ips": {
      "type": "array",
      "description": "The IP addresses that are included in the SPF record for this authenticated domain.",
      "items": {}
    },
    "custom_spf": {
      "type": "boolean",
      "description": "Indicates if this authenticated domain uses custom SPF."
    },
    "default": {
      "type": "boolean",
      "description": "Indicates if this is the default domain."
    },
    "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."
    },
    "automatic_security": {
      "type": "boolean",
      "description": "Indicates if this authenticated domain uses automated security."
    },
    "valid": {
      "type": "boolean",
      "description": "Indicates if this is a valid authenticated domain ."
    },
    "dns": {
      "type": "object",
      "description": "The DNS records for this authenticated domain.",
      "required": [
        "mail_server",
        "subdomain_spf",
        "domain_spf",
        "dkim"
      ],
      "properties": {
        "mail_server": {
          "type": "object",
          "description": "Designates which mail server is responsible for accepting messages from a domain.",
          "required": [
            "host",
            "type",
            "data",
            "valid"
          ],
          "properties": {
            "host": {
              "type": "string",
              "description": "The domain sending the messages."
            },
            "type": {
              "type": "string",
              "description": "They type of DNS record."
            },
            "data": {
              "type": "string",
              "description": "The mail server responsible for accepting messages from the sending domain."
            },
            "valid": {
              "type": "boolean",
              "description": "Indicates if this is a valid DNS record."
            }
          }
        },
        "subdomain_spf": {
          "type": "object",
          "description": "The SPF record for the subdomain used to create this authenticated domain.",
          "required": [
            "host",
            "type",
            "data",
            "valid"
          ],
          "properties": {
            "host": {
              "type": "string",
              "description": "The domain that this SPF record will be used to authenticate."
            },
            "type": {
              "type": "string",
              "description": "The type of data in the SPF record."
            },
            "data": {
              "type": "string",
              "description": "The SPF record."
            },
            "valid": {
              "type": "boolean",
              "description": "Indicates if this is a valid SPF record."
            }
          }
        },
        "domain_spf": {
          "type": "object",
          "description": "The SPF record for the root domain.",
          "required": [
            "host",
            "type",
            "data",
            "valid"
          ],
          "properties": {
            "host": {
              "type": "string",
              "description": "The root domain that this SPF record will be used to authenticate."
            },
            "type": {
              "type": "string",
              "description": "The type of data in the SPF record."
            },
            "data": {
              "type": "string",
              "description": "The SPF record."
            },
            "valid": {
              "type": "boolean",
              "description": "Indicates if the SPF record is valid."
            }
          }
        },
        "dkim": {
          "type": "object",
          "description": "The DKIM record for messages sent using this authenticated domain.",
          "required": [
            "host",
            "type",
            "data",
            "valid"
          ],
          "properties": {
            "host": {
              "type": "string",
              "description": "The DNS labels for the DKIM signature."
            },
            "type": {
              "type": "string",
              "description": "The type of data in the DKIM record."
            },
            "data": {
              "type": "string",
              "description": "The DKIM record."
            },
            "valid": {
              "type": "boolean",
              "description": "Indicates if the DKIM record is valid."
            }
          }
        }
      }
    }
  },
  "required": [
    "id",
    "domain",
    "username",
    "user_id",
    "ips",
    "custom_spf",
    "default",
    "legacy",
    "automatic_security",
    "valid",
    "dns"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sendgrid-authenticated-domain-spf"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.