Claims
Create a claim
Start proving a domain is yours, and get the one DNS record to add.
/api/v1/claimsSend whatever the person typed: a bare domain, a URL or an email address all work. The response says what we made of it in normalized, and view.record is the TXT record to add.
This is the one route that can start a session. When the request carries no session cookie, the response sets one, and that cookie is what makes the claim yours. Keep it and send it with every later request.
Asking again for a domain you already have an open claim on returns that claim with existing: true and a 200, so it's safe to retry.
warning is verified_by_another_account when someone else has already proven this name. You can still go ahead: the newest proof wins.
Authentication
Send the session cookie if you have one. If you don't, the response sets one. How sessions work.
Body
JSON, with content-type: application/json.
inputstringrequiredThe domain, as typed. A URL or an email address works too: we keep the host.
- At most 2,000 characters
Response
201 Created or 200 OK, with the same body either way. Times are ISO 8601 strings in UTC.
claimIdstringThe claim's id. It starts with
clm_.existingbooleanTrue when you already had an open claim on this domain and got it back.
normalizedobjectWhat we made of the input.
Show the 5 fields insideInside normalized
asciistringThe name as DNS stores it: lowercase, in punycode if needed.
unicodestringThe name as a person reads it.
registrableDomainstringThe part someone registered:
acme.co.ukformail.acme.co.uk.isSubdomainbooleanTrue when the name is below its registrable domain.
warningsarray of objectsThings worth a second look. They never stop a claim.
Show what each item hasEach item has
kind"mixed_script"labelstringThe part of the name that mixes alphabets.
scriptsarray of stringsThe alphabets found in it, like Latin and Cyrillic.
messagestringThe warning in plain words.
viewobjectThe claim as it stands right now. Switch on
phase.11 shapes, told apart by
phase. Every one has the fields below, plus its own.Show the 6 fields every shape hasFields every shape has
claimIdstringThe claim's id.
domainAsciistringThe domain as DNS stores it.
domainUnicodestringThe domain as a person reads it.
statusstringThe stored status.
phasesays more.- One of
pendingverifiedat_risklapsedexpiredtransferredabandoned
- One of
dnsHostobjectWho answers for this domain's DNS, and where to go to change it. On every view.
Show the 5 fields insideInside dnsHost
providerIdstringWho runs the DNS, judged by the nameservers.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestring | nullThe provider's name. Null when the nameservers aren't one we know.
settingsUrlstring | nullA link to this domain's DNS settings there. Null when we have none.
nameserversarray of stringsWhat the domain answers from. Empty until public DNS has nameservers for it.
parkedbooleanTrue when the nameservers belong to a parking service, which usually can't hold records.
explanationobjectWhere the claim stands, in plain words. Written to be shown as it is.
Show the 4 fields insideInside explanation
headlinestringWhat happened, in one line.
whystringWhy, in a sentence or two.
fixstring | nullThe one thing to do next. Null when there's nothing.
actionobjectThe next step, as something a client can act on.
Show the 2 fields insideInside action
kindstringcheck_nowto run a check,waitwhen we're checking on our own,new_codeto get a new code,nonewhen it's done.- One of
check_nowwaitnew_codenone
- One of
labelstringWhat to call that action on a button.
view.phase is
add_recordPending, and no check of the current code has run yet.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
timingobjectWhen things happened and when they'll happen next.
Show the 4 fields insideInside timing
lastCheckedAtstring | nullWhen the last check finished, if one has.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
expiresAtstringWhen this code stops working: 7 days after it was issued.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
view.phase is
checkingPending, with a check running right now.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
timingobjectWhen things happened and when they'll happen next.
Show the 4 fields insideInside timing
lastCheckedAtstring | nullWhen the last check finished, if one has.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
expiresAtstringWhen this code stops working: 7 days after it was issued.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
view.phase is
waiting_for_dnsPending. The record is right and DNS is still catching up.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
timingobjectWhen things happened and when they'll happen next.
Show the 4 fields insideInside timing
lastCheckedAtstring | nullWhen the last check finished, if one has.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
expiresAtstringWhen this code stops working: 7 days after it was issued.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
outcomeobjectWhat the last check concluded.
2 shapes, told apart by
kind. Every one has the fields below, plus its own.Show the 1 field every shape hasFields every shape has
seenByarray of stringsThe servers that have the record.
outcome.kind is
propagatingThe record is right, and some servers don't have it yet. Nothing to fix.notYetarray of stringsThe servers still waiting for it.
outcome.kind is
verifiedEvery server we asked has the record with the right value.Nothing beyond the shared fields.
view.phase is
fix_neededPending. The last check found something to change, andoutcomesays what.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
timingobjectWhen things happened and when they'll happen next.
Show the 4 fields insideInside timing
lastCheckedAtstring | nullWhen the last check finished, if one has.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
expiresAtstringWhen this code stops working: 7 days after it was issued.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
outcomeobjectWhat the last check concluded.
2 shapes, told apart by
kind.outcome.kind is
mismatchThere's a record at the name, and its value isn't the code.reasonstringHow the value differs.
- One of
lookalike_charactertruncatedextra_quotesextra_whitespacewrong_prefixstale_tokendifferent_token
- One of
foundstringThe value DNS holds.
expectedstringThe value it should hold.
- Starts with
prufy-domain-verification=
- Starts with
diffAtintegerThe position of the first character that differs, counting from 0.
outcome.kind is
not_foundNo record with the code at the name we check.reasonstringWhere the record is, or why it can't be there.
- One of
nothing_at_namehost_doubledwrong_namenot_at_authoritativecname_at_namenxdomain_zone
- One of
view.phase is
try_again_laterPending. DNS couldn't be reached, so we'll try again.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
timingobjectWhen things happened and when they'll happen next.
Show the 4 fields insideInside timing
lastCheckedAtstring | nullWhen the last check finished, if one has.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
expiresAtstringWhen this code stops working: 7 days after it was issued.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
outcomeobjectDNS couldn't be reached, so this check says nothing about the record.
Show the 2 fields insideInside outcome
kind"lookup_error"failuresarray of objectsEach server that couldn't be asked.
Show what each item hasEach item has
resolverstringWho answered:
authoritative:<nameserver>for one of the domain's own servers, or a public resolver.- One of
googlecloudflare, or a value added later
- One of
errorstringHow the lookup went wrong.
- One of
timeoutservfailrefusednetworkbad_responseno_nameserver_address
- One of
view.phase is
verifiedOwnership is proven. The record has to stay, and we re-check it daily.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
verifiedAtstringWhen ownership was first proven.
lastSeenAtstringWhen a check last found the record.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
view.phase is
at_riskVerified, but the record has gone missing. Put it back beforelapsesAt.recordobjectThe one DNS record that proves ownership.
Show the 5 fields insideInside record
type"TXT"hoststringWhat to type in the provider's host field. Already adjusted for providers that add the domain themselves.
fullNamestringThe record's full name, which is where we look.
- Starts with
_prufy-challenge.
- Starts with
valuestringThe value to paste, exactly.
- Starts with
prufy-domain-verification=
- Starts with
ttlintegerA suggested TTL, in seconds.
instructionsobjectHow to add the record at this domain's provider, in that provider's words.
Show the 7 fields insideInside instructions
providerIdstringWho runs this domain's DNS, as far as we can tell.
- One of
godaddycloudflarenamecheaproute53vercelionossquarespacehostingerwixporkbungoogle_cloud_dnscpanelunknown
- One of
namestringThe provider's name, or “your DNS provider” when unknown.
hostFieldLabelstringWhat this provider calls the host field.
valueFieldLabelstringWhat this provider calls the value field.
settingsUrlstringWhere its DNS settings are.
stepsarray of stringsHow to get to the right screen, in order.
notesarray of stringsWhat this provider does differently.
verifiedAtstringWhen ownership was first proven.
atRiskSincestringWhen a check first found the record missing.
lapsesAtstringWhen ownership ends if the record isn't back: 7 days on.
nextCheckAtstring | nullWhen we'll look next on our own. Null when nothing is scheduled.
canCheckNowAtstring | nullWhen Run a check is allowed again. Null means now.
view.phase is
lapsedThe record stayed missing past the grace period. Get a new code to start over.lapsedAtstringWhen ownership ended.
lastSeenAtstringWhen a check last found the record.
view.phase is
expiredThe code ran out before the record was found. Get a new code to carry on.expiredAtstringWhen the code stopped working.
view.phase is
transferredAnother account proved this domain more recently. Final.transferredAtstringWhen another account proved the domain.
view.phase is
abandonedStopped by its owner. Final.abandonedAtstringWhen the claim was stopped.
warning"verified_by_another_account" | nullSet when another account has already proven this domain. You can still go on.
Errors
| Status | Kind | When |
|---|---|---|
| 400 | bad_request | The body isn't JSON, or doesn't match the shape below. message names the first field to fix, and fields lists each one with its path. |
| 401 | unauthorized | The request carries a session cookie we don't know, because it ended or is from another Prufy. Nothing is created, and the response clears the cookie, so sending it again starts a new session. |
| 413 | payload_too_large | The body is over 16 KB. No route takes anything near that. |
| 422 | empty | The input is blank. This and the seven kinds below are a 422, each with a message that says what to type instead. |
| 422 | invalid_characters | The input has characters a domain can't contain. |
| 422 | label_too_long | One part between dots is longer than 63 characters. |
| 422 | too_long | The whole name is longer than 253 characters. |
| 422 | ip_address | The input is an IP address, not a domain. |
| 422 | reserved_tld | The ending is set aside, like .test or .localhost. |
| 422 | public_suffix | The input is a suffix many people share, like co.uk, not a domain under it. |
| 422 | single_label | The input has no dot, so there's no ending to look up. |
| 429 | rate_limited | The account has started 20 claims in the last hour, or this network has started 10 new sessions in the last hour. |
Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.