---
title: "List all DNS providers"
method: GET
path: "/dns-providers"
tags: ["DNS Providers"]
---

# List all DNS providers

`GET /dns-providers`

## Request

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

## Response `200`

List of DNS providers

- DnsProviderResponse[]
  - `created_at` string, required
  - `credentials` unknown, required
  - `description` string, nullable
  - `flat_hostnames_supported` boolean, required: Whether this provider benefits from the flat hostname mode (e.g. Cloudflare Universal SSL). The UI surfaces/recommends the Flat toggle when true.
  - `id` integer, required
  - `is_active` boolean, required
  - `last_error` string, nullable
  - `last_used_at` string, nullable
  - `name` string, required
  - `provider_type` string, required
  - `updated_at` string, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions

## Changes

- **2026-07-27** `1b060c0a4ba3`: 1 info
  - added the required property `items/flat_hostnames_supported` to the response with the `200` status
- **2026-04-25** `774be20905f2`: 1 info
  - api operation id `list_providers` removed and replaced with `list_dns_providers`
- **2026-01-11** `50604ba8d4a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/dns-providers/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)
