Domain Connect
Get a one-click setup URL
A signed link to the DNS provider's own page, where the owner approves the record.
/api/v1/claims/{id}/domain-connect/urlThis 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
idstringrequiredThe 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.
urlURLWhere to send the owner. It's signed, and it works once.
Errors
| Status | Kind | When |
|---|---|---|
| 401 | unauthorized | The request has no session cookie, or one we don't recognise. |
| 404 | not_found | No claim has this id in your account. Another account's claim looks the same as one that doesn't exist. |
| 404 | domain_connect_disabled | The feature is turned off on this server. |
| 409 | domain_connect_unavailable | The 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.