Export BIND zone file
GET
https://myagentmail.com/v1/domains/{domain}/zone-fileFor agents View as Markdown
Returns the current DNS records as a BIND-format zone file fragment. Convenient for pasting into a DNS editor that accepts zone-file imports.
Path parameters
domainrequired string | Fully-qualified domain name |
Responses
200text/plainZone file text
string
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.