> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gork.email/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Domain

> Trigger real-time DNS lookup check across Cloudflare DNS-over-HTTPS to verify domain records.

Perform an instant DNS check across Cloudflare 1.1.1.1 DNS-over-HTTPS resolvers to verify MX, SPF, DKIM, and ownership challenge records.

### Path Parameters

<ParamField path="id" type="string" required>
  The unique ID of the domain (`dom_...`).
</ParamField>

### Response

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="id" type="string">
      The domain ID.
    </ResponseField>

    <ResponseField name="status" type="string">
      `active` if all checks passed, `pending` if DNS propagation is still ongoing.
    </ResponseField>

    <ResponseField name="checks" type="object">
      Breakdown of status for `ownership`, `mx`, `spf`, and `dkim`.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.gork.email/v1/domains/dom_83fa90bc712e/verify \
    -H "Authorization: Bearer gk_live_YOUR_API_KEY"
  ```

  ```typescript TypeScript theme={null}
  import { GorkClient } from "@gorkmail/sdk"

  const client = new GorkClient({ apiKey: process.env.GORK_API_KEY })

  const verification = await client.domains.verify("dom_83fa90bc712e")
  if (verification.status === "active") {
    console.log("Domain is live and ready for outbound sending!")
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": {
      "id": "dom_83fa90bc712e",
      "domainName": "outbound.yourdomain.com",
      "status": "active",
      "checks": {
        "ownership": true,
        "mx": true,
        "spf": true,
        "dkim": true
      },
      "verifiedAt": "2026-09-07T12:45:00.000Z"
    }
  }
  ```
</ResponseExample>
