# Get domain by ID

> Fetch a domain and its DNS records, refreshing verification status.

`GET https://inboundr.net/api/v1/domains/{id}`

Returns the domain with its DNS records. If the domain is still `pending`, this
call also triggers a fresh verification check.

<ParamField path="id" type="string" required>
  The domain id (`dom_…`).
</ParamField>

<ResponseExample>
```json 200
{
  "id": "dom_123",
  "domain": "yourdomain.com",
  "status": "verified",
  "catchAllEndpointId": null,
  "dkimTokens": ["token1", "token2", "token3"],
  "dnsRecords": [
    { "type": "MX", "name": "yourdomain.com", "value": "…", "priority": 10 }
  ]
}
```
</ResponseExample>

<Note>Returns `404` if the domain doesn't exist or isn't yours.</Note>
