Skip to main content
GET
/
domains
/
{id}
/
zone-file
cURL
curl --request GET \
  --url https://api.useanima.sh/v1/domains/{id}/zone-file \
  --header 'Authorization: Bearer <token>'
{
  "zoneFile": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

id
string
required

Unique domain identifier

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Response

200 - application/json

OK

Generated DNS zone file for a domain

zoneFile
string
required

Complete DNS zone file content for configuring the domain