---
title: "Get domain with DNS records"
method: GET
path: "/domains/{id}"
tags: ["Domains"]
---

# Get domain with DNS records

`GET /domains/{id}`

Returns domain details including DNS records needed for verification

## Response `200`

Successful response

- WhitelabelDomain
  - `id` integer
  - `domain` string, required
  - `sendgrid_whitelabel_domain_id` integer, nullable
  - `validated_at` string, date-time, nullable
  - `dns` object — DNS records from SendGrid (included on show)
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `403` — Forbidden. Most often an ownership/authorization failure (Laravel's default `{"message": "..."}` shape). If the account is restricted by SendFox, the response instead carries the structured `account_restricted` body with a link to the account status page.
- `404` — Domain not found

---

[API](https://skmtc.net/sendfox/apis/sendfox-api.md) · [All operations](https://skmtc.net/sendfox/apis/sendfox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sendfox/sendfox-api/versions/ea591a7644e7/schema)
