---
title: "List zones available in a provider"
method: GET
path: "/dns-providers/{id}/zones"
tags: ["DNS Providers"]
---

# List zones available in a provider

`GET /dns-providers/{id}/zones`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/dns-providers/{id}/zones`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

List of zones

- ZoneListResponse: Zone list response
  - `zones` DnsZone[], required
    - `id` string, required: Provider-specific zone ID
    - `metadata` object: Provider-specific metadata
    - `name` string, required: Zone name (domain)
    - `nameservers` string[], required: Nameservers for this zone
    - `status` string, required: Zone status

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Provider not found

## Changes

- **2026-01-11** `50604ba8d4a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/dns-providers/:id/zones/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
