prufy
Skip to the page

Domain ConnectGet a one-click setup URL

Domain Connect

Get a one-click setup URL

A signed link to the DNS provider's own page, where the owner approves the record.

POST/api/v1/claims/{id}/domain-connect/url

This is Domain Connect: the provider shows the record and adds it when the owner agrees, so nobody copies anything. Each provider has to take our template on first, so it's off by default and this route answers domain_connect_disabled.

domainConnect on a claim says whether it's possible for that domain: available means the provider supports us, and applyEnabled says whether this server has the feature turned on.

Coming back from the provider proves nothing. We record that they sent the person back, then ask DNS like any other check.

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.

  • urlURL

    Where to send the owner. It's signed, and it works once.

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.
404domain_connect_disabledThe feature is turned off on this server.
409domain_connect_unavailableThe claim isn't pending, or the domain's provider doesn't support our template.

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