Get name zone file

Retrieves the zone file for a specific name.

GET
/v1/names/{name}/zonefile

Get name zone file

Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.

Path Parameters

name
Required
string

fully-qualified name

Example: "bar.test"
Status codeDescription
200Success
400Error
404Error
/v1/names/{name}/zonefile

curl -X GET "https://api.hiro.so/v1/names/bar.test/zonefile"

Fetch a user's raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.

{
  "zonefile": "string"
}