---
title: "Get Zone File"
method: GET
path: "/v0/domains/{domain_id}/zone-file"
tags: ["Domains"]
---

# Get Zone File

`GET /v0/domains/{domain_id}/zone-file`

**CLI:**
```bash
agentmail domains get-zone-file --domain-id <domain_id>
```

## Path parameters

- `domain_id` string, required — The ID of the domain.

## Response `204`

## Other responses

- `404`

## Changes

- **2026-07-15** `394ddcdd9c29` — 3 info
  - added the optional property `code` to the response with the `404` status
  - added the optional property `docs` to the response with the `404` status
  - added the optional property `fix` to the response with the `404` status

[Change history](https://skmtc.dev/agentmail-to/apis/api/changes/v0/domains/:domain_id/zone-file/get.md)

---

[API](https://skmtc.dev/agentmail-to/apis/api.md) · [All operations](https://skmtc.dev/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
