Skip to content

Export DNS records as a BIND zone file

GET
/api/organizations/{organizationId}/domains/{id}/export

Returns this domain's DNS records in BIND zone-file format as plain text, generated from the domain's managed DNS zone. The response is served as text/plain with a Content-Disposition attachment filename of ".zone". DNS must be enabled on the domain before exporting.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext).

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

organizationId*

Organization identifier

Type
string
Required
id*

domain identifier

Type
string
Required

Responses

BIND-format zone file (text/plain).

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI