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 "
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
Requiredstring
id*
domain identifier
Type
Requiredstring
Responses
BIND-format zone file (text/plain).
