prufy
Skip to the page

ClaimsGet the record as a zone-file line

Claims

Get the record as a zone-file line

The record in BIND zone-file format, for providers that take an import.

GET/api/v1/claims/{id}/zone-file

One line, with the full name ending in a dot and the value in double quotes. Paste it into a zone file or a provider's import box as it is.

Authentication

Send the session cookie. Without it the answer is unauthorized. How sessions work.

Path parameters

idstringrequired

The claim's id, from Create a claim or List claims. It starts with clm_.

Response

200 OK, with every field below present. Times are ISO 8601 strings in UTC.

  • linestring

    The record as one line of a BIND zone file.

Errors

StatusKindWhen
401unauthorizedThe request has no session cookie, or one we don't recognise.
404not_foundNo claim has this id in your account. Another account's claim looks the same as one that doesn't exist.

Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.