# GET /api/v1/domains/:id/zone-file

Auth: Bearer

HTML: https://cooperemail.com/docs/reference/domain-zone-file

## Summary

text/plain BIND lines for the MX, SPF, DKIM, DMARC, and verify records. Another account's id returns 404 domain_not_found.

## Request

This call has no JSON body.

## Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

## Errors

- HTTP 404 domain_not_found

The live `message` is the sentence for that code. Branch on `code`.

```json
{
  "error": {
    "type": "not_found",
    "code": "domain_not_found",
    "docs_url": "https://cooperemail.com/docs#domain_not_found"
  }
}
```

## Idempotency

This route does not document Idempotency-Key or client_id.
