---
title: "Download a domain's zone file"
method: GET
path: "/api/v1/domains/{id}/zone"
tags: ["Domains"]
---

# Download a domain's zone file

`GET /api/v1/domains/{id}/zone`

## Request

- Base URL: `https://supermailos.com`
- URL: `https://supermailos.com/api/v1/domains/{id}/zone`
- Auth: HTTP bearer

The domain's records as a BIND zone file, to import at a DNS host that accepts one. Optional records are marked. `409` for the workspace's instant subdomain, which has nothing to publish.

## Path parameters

- `id` string, required

## Response `200`

The zone file.

## Other responses

- `401`: Missing, invalid or revoked API key.
- `403`: The key lacks the scope (`missing_scope`) or the access (`forbidden`).
- `404`: Not found — or not reachable with this key.
- `409`: A request with this Idempotency-Key is still in progress.
- `429`: Too many requests.

---

[API](https://skmtc.dev/supermailos/apis/supermailos-api.md) · [All operations](https://skmtc.dev/supermailos/apis/supermailos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/supermailos/apis/supermailos-api/revisions/5bd0ce2ee269?raw)
