{"openapi":"3.1.0","info":{"title":"Prufy API","version":"1.0.0","summary":"Prove a domain is yours, and keep it proven.","description":"Prufy gives you one DNS record to add, checks for it on its own, and says in plain words what it found.\n\nEvery route is under `/api/v1`. Within a version changes only add: ignore fields you don't know, and expect new values in lists that say they can grow. A deprecated address answers with `Deprecation` and `Sunset` headers.\n\nThere are no API keys yet: the session cookie that Create a claim sets is the only credential. Keys are planned and won't change any address.\n\nGenerated from the same schemas the server validates with, so it can't describe a field the API doesn't have."},"servers":[{"url":"https://www.prufy.dev","description":"Production"},{"url":"http://localhost:5200","description":"Local development. Start it with DNS_MODE=fixtures to work without a real domain."}],"tags":[{"name":"Claims"},{"name":"Setup links"},{"name":"Alerts"},{"name":"Signing in"},{"name":"Domain Connect"},{"name":"System"},{"name":"Development"}],"paths":{"/api/v1/claims":{"post":{"operationId":"createClaim","tags":["Claims"],"summary":"Create a claim","description":"Start proving a domain is yours, and get the one DNS record to add.\n\nSend 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.\n\nThis 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.\n\nAsking 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.\n\n`warning` is `verified_by_another_account` when someone else has already proven this name. You can still go ahead: the newest proof wins.","security":[{"session":[]},{}],"x-access":"Starts a session","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"string","maxLength":2000,"description":"The domain, as typed. A URL or an email address works too: we keep the host."}},"required":["input"]},"example":{"input":"yourcompany.com"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id. It starts with `clm_`."},"existing":{"type":"boolean","description":"True when you already had an open claim on this domain and got it back."},"normalized":{"type":"object","properties":{"ascii":{"type":"string","description":"The name as DNS stores it: lowercase, in punycode if needed."},"unicode":{"type":"string","description":"The name as a person reads it."},"registrableDomain":{"type":"string","description":"The part someone registered: `acme.co.uk` for `mail.acme.co.uk`."},"isSubdomain":{"type":"boolean","description":"True when the name is below its registrable domain."},"warnings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","const":"mixed_script"},"label":{"type":"string","description":"The part of the name that mixes alphabets."},"scripts":{"type":"array","items":{"type":"string"},"description":"The alphabets found in it, like Latin and Cyrillic."},"message":{"type":"string","description":"The warning in plain words."}},"required":["kind","label","scripts","message"],"additionalProperties":false},"description":"Things worth a second look. They never stop a claim."}},"required":["ascii","unicode","registrableDomain","isSubdomain","warnings"],"additionalProperties":false,"description":"What we made of the input."},"view":{"oneOf":[{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"add_record"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, and no check of the current code has run yet."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"checking"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, with a check running right now."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"waiting_for_dns"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The record is right and DNS is still catching up."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"fix_needed"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The last check found something to change, and `outcome` says what."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"try_again_later"},"outcome":{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. DNS couldn't be reached, so we'll try again."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"verified"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"lastSeenAt":{"type":"string","description":"When a check last found the record."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","verifiedAt","lastSeenAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Ownership is proven. The record has to stay, and we re-check it daily."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"at_risk"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"atRiskSince":{"type":"string","description":"When a check first found the record missing."},"lapsesAt":{"type":"string","description":"When ownership ends if the record isn't back: 7 days on."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","instructions","verifiedAt","atRiskSince","lapsesAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Verified, but the record has gone missing. Put it back before `lapsesAt`."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"lapsed"},"lapsedAt":{"type":"string","description":"When ownership ended."},"lastSeenAt":{"type":"string","description":"When a check last found the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","lapsedAt","lastSeenAt"],"additionalProperties":false,"description":"The record stayed missing past the grace period. Get a new code to start over."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"expired"},"expiredAt":{"type":"string","description":"When the code stopped working."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","expiredAt"],"additionalProperties":false,"description":"The code ran out before the record was found. Get a new code to carry on."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"transferred"},"transferredAt":{"type":"string","description":"When another account proved the domain."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","transferredAt"],"additionalProperties":false,"description":"Another account proved this domain more recently. Final."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"abandoned"},"abandonedAt":{"type":"string","description":"When the claim was stopped."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","abandonedAt"],"additionalProperties":false,"description":"Stopped by its owner. Final."}],"description":"The claim as it stands right now. Switch on `phase`."},"warning":{"anyOf":[{"type":"string","const":"verified_by_another_account"},{"type":"null"}],"description":"Set when another account has already proven this domain. You can still go on."}},"required":["claimId","existing","normalized","view","warning"],"additionalProperties":false}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id. It starts with `clm_`."},"existing":{"type":"boolean","description":"True when you already had an open claim on this domain and got it back."},"normalized":{"type":"object","properties":{"ascii":{"type":"string","description":"The name as DNS stores it: lowercase, in punycode if needed."},"unicode":{"type":"string","description":"The name as a person reads it."},"registrableDomain":{"type":"string","description":"The part someone registered: `acme.co.uk` for `mail.acme.co.uk`."},"isSubdomain":{"type":"boolean","description":"True when the name is below its registrable domain."},"warnings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","const":"mixed_script"},"label":{"type":"string","description":"The part of the name that mixes alphabets."},"scripts":{"type":"array","items":{"type":"string"},"description":"The alphabets found in it, like Latin and Cyrillic."},"message":{"type":"string","description":"The warning in plain words."}},"required":["kind","label","scripts","message"],"additionalProperties":false},"description":"Things worth a second look. They never stop a claim."}},"required":["ascii","unicode","registrableDomain","isSubdomain","warnings"],"additionalProperties":false,"description":"What we made of the input."},"view":{"oneOf":[{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"add_record"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, and no check of the current code has run yet."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"checking"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, with a check running right now."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"waiting_for_dns"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The record is right and DNS is still catching up."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"fix_needed"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The last check found something to change, and `outcome` says what."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"try_again_later"},"outcome":{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. DNS couldn't be reached, so we'll try again."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"verified"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"lastSeenAt":{"type":"string","description":"When a check last found the record."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","verifiedAt","lastSeenAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Ownership is proven. The record has to stay, and we re-check it daily."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"at_risk"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"atRiskSince":{"type":"string","description":"When a check first found the record missing."},"lapsesAt":{"type":"string","description":"When ownership ends if the record isn't back: 7 days on."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","instructions","verifiedAt","atRiskSince","lapsesAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Verified, but the record has gone missing. Put it back before `lapsesAt`."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"lapsed"},"lapsedAt":{"type":"string","description":"When ownership ended."},"lastSeenAt":{"type":"string","description":"When a check last found the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","lapsedAt","lastSeenAt"],"additionalProperties":false,"description":"The record stayed missing past the grace period. Get a new code to start over."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"expired"},"expiredAt":{"type":"string","description":"When the code stopped working."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","expiredAt"],"additionalProperties":false,"description":"The code ran out before the record was found. Get a new code to carry on."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"transferred"},"transferredAt":{"type":"string","description":"When another account proved the domain."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","transferredAt"],"additionalProperties":false,"description":"Another account proved this domain more recently. Final."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"abandoned"},"abandonedAt":{"type":"string","description":"When the claim was stopped."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","abandonedAt"],"additionalProperties":false,"description":"Stopped by its owner. Final."}],"description":"The claim as it stands right now. Switch on `phase`."},"warning":{"anyOf":[{"type":"string","const":"verified_by_another_account"},{"type":"null"}],"description":"Set when another account has already proven this domain. You can still go on."}},"required":["claimId","existing","normalized","view","warning"],"additionalProperties":false},"example":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","existing":false,"normalized":{"ascii":"yourcompany.com","unicode":"yourcompany.com","registrableDomain":"yourcompany.com","isSubdomain":false,"warnings":[]},"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"pending","explanation":{"headline":"Add this record at Namecheap","why":"Most records appear within a few minutes. Your code works until 2026-11-17.","fix":null,"action":{"kind":"check_now","label":"Check now"}},"record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","ttl":300},"instructions":{"providerId":"namecheap","name":"Namecheap","hostFieldLabel":"Host","valueFieldLabel":"Value","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","steps":["Sign in to Namecheap and open Domain List.","Click Manage next to your domain, then open the Advanced DNS tab.","Click Add New Record and choose TXT Record."],"notes":["Namecheap adds your domain to the Host automatically. Enter only the part shown, without your domain."]},"timing":{"lastCheckedAt":null,"nextCheckAt":"2026-11-10T09:30:30.000Z","expiresAt":"2026-11-17T09:30:00.000Z","canCheckNowAt":null},"phase":"add_record"},"warning":null}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"`empty`: The input is blank. This and the seven kinds below are a 422, each with a message that says what to type instead.\n\n`invalid_characters`: The input has characters a domain can't contain.\n\n`label_too_long`: One part between dots is longer than 63 characters.\n\n`too_long`: The whole name is longer than 253 characters.\n\n`ip_address`: The input is an IP address, not a domain.\n\n`reserved_tld`: The ending is set aside, like `.test` or `.localhost`.\n\n`public_suffix`: The input is a suffix many people share, like `co.uk`, not a domain under it.\n\n`single_label`: The input has no dot, so there's no ending to look up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: The account has started 20 claims in the last hour, or this network has started 10 new sessions in the last hour.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}},"get":{"operationId":"listClaims","tags":["Claims"],"summary":"List claims","description":"Every domain this session has claimed, with where each one stands.\n\nA request with no session gets an empty list, not an error: a visitor who hasn't claimed anything simply has no domains yet.","security":[{"session":[]},{}],"x-access":"Session cookie, optional","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"claims":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","description":"The stored status, like `pending` or `verified`."},"phase":{"type":"string","description":"Where the claim is right now. The same values as `view.phase`."},"headline":{"type":"string","description":"One line that says where things stand."},"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]}},"required":["id","domainAscii","domainUnicode","status","phase","headline","lastCheckedAt","nextCheckAt"],"additionalProperties":false},"description":"Your claims, newest first."}},"required":["claims"],"additionalProperties":false},"example":{"claims":[{"id":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","status":"pending","phase":"add_record","headline":"Add this record at Namecheap","lastCheckedAt":null,"nextCheckAt":"2026-11-10T09:30:30.000Z"}]}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}":{"get":{"operationId":"claimDetail","tags":["Claims"],"summary":"Retrieve a claim","description":"One claim: its status, the record to add, the last check and its history.\n\n`view` is computed on every read from the claim, its current code and its last check, so it can't disagree with the status. Switch on `view.phase` to decide what to show.\n\n`lastCheck.observations` is what each DNS server actually answered. It's there for the curious: `view.explanation` already says what it means.\n\nPoll this to follow a claim. We check on our own schedule, so there's no need to ask for checks in a loop: `view.timing.nextCheckAt` says when we'll look next.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Claim"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"pending","explanation":{"headline":"One character looks right but isn't the same","why":"Character 35 is “5” where the code has “s”. Those are easy to mix up when a value is retyped.","fix":"In Namecheap, replace the Value with the one from the Copy button.","action":{"kind":"check_now","label":"Check now"}},"record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","ttl":300},"instructions":{"providerId":"namecheap","name":"Namecheap","hostFieldLabel":"Host","valueFieldLabel":"Value","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","steps":["Sign in to Namecheap and open Domain List.","Click Manage next to your domain, then open the Advanced DNS tab.","Click Add New Record and choose TXT Record."],"notes":["Namecheap adds your domain to the Host automatically. Enter only the part shown, without your domain."]},"timing":{"lastCheckedAt":"2026-11-10T09:34:12.480Z","nextCheckAt":"2026-11-10T09:34:42.480Z","expiresAt":"2026-11-17T09:30:00.000Z","canCheckNowAt":"2026-11-10T09:34:22.471Z"},"phase":"fix_needed","outcome":{"kind":"mismatch","reason":"lookalike_character","found":"prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay","expected":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","diffAt":34}},"zoneApex":"yourcompany.com","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"domainConnect":null,"lastCheck":{"id":"chk_7ecf20b2-d091-4355-b731-a5ee5dd8c6b9","trigger":"user","startedAt":"2026-11-10T09:34:12.392Z","finishedAt":"2026-11-10T09:34:12.480Z","durationMs":88,"outcomeKind":"mismatch","outcome":{"kind":"mismatch","reason":"lookalike_character","found":"prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay","expected":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","diffAt":34},"observations":[{"resolver":"authoritative:dns1.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"authoritative:dns2.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"google","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null},{"resolver":"cloudflare","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null}]},"events":[{"id":"evt_d7cfcc54-2810-4f98-9bf3-b3708cb969cb","type":"CHECK_FAILED","actorKind":"user","at":"2026-11-10T09:34:12.480Z","detail":"lookalike_character"},{"id":"evt_c02ad8dd-985a-4088-a76d-6ed23d61cc5b","type":"CLAIM_CREATED","actorKind":"user","at":"2026-11-10T09:30:00.000Z","detail":null}]}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}/checks":{"post":{"operationId":"runCheck","tags":["Claims"],"summary":"Run a check","description":"Look for the record now, without waiting for the next scheduled check.\n\nWe ask the domain's own nameservers and two public resolvers, then answer with the claim as it is afterwards. A check takes at most 8 seconds.\n\nOne check per claim every 10 seconds. `view.timing.canCheckNowAt` (or `view.canCheckNowAt` once verified) says when the next one is allowed, so a client can wait instead of guessing.\n\nA check that doesn't pass is still a 200. The answer is in `view.phase` and `view.outcome`.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Claim"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"verified","explanation":{"headline":"yourcompany.com is verified","why":"We last saw your record on 2026-11-10.","fix":"Keep the record in place. We re-check it daily so ownership stays current.","action":{"kind":"none","label":"Nothing to do"}},"phase":"verified","record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","ttl":300},"verifiedAt":"2026-11-10T09:41:03.115Z","lastSeenAt":"2026-11-10T09:41:03.115Z","nextCheckAt":"2026-11-11T09:41:03.115Z","canCheckNowAt":"2026-11-10T09:41:13.096Z"},"zoneApex":"yourcompany.com","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"domainConnect":null,"lastCheck":{"id":"chk_735a7a54-167e-40b1-9d6a-9876e275bfdc","trigger":"user","startedAt":"2026-11-10T09:41:03.021Z","finishedAt":"2026-11-10T09:41:03.115Z","durationMs":94,"outcomeKind":"verified","outcome":{"kind":"verified","seenBy":["authoritative:dns1.registrar-servers.com","authoritative:dns2.registrar-servers.com","google","cloudflare"]},"observations":[{"resolver":"authoritative:dns1.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"authoritative:dns2.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"google","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null},{"resolver":"cloudflare","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null}]},"events":[{"id":"evt_78b975bf-156e-4faf-9e37-6190f348fe28","type":"CHECK_PASSED","actorKind":"user","at":"2026-11-10T09:41:03.115Z","detail":null},{"id":"evt_d7cfcc54-2810-4f98-9bf3-b3708cb969cb","type":"CHECK_FAILED","actorKind":"user","at":"2026-11-10T09:34:12.480Z","detail":"lookalike_character"},{"id":"evt_c02ad8dd-985a-4088-a76d-6ed23d61cc5b","type":"CLAIM_CREATED","actorKind":"user","at":"2026-11-10T09:30:00.000Z","detail":null}]}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`check_in_flight`: Another check of this claim is running right now. Try again in a few seconds.\n\n`not_checkable`: The claim is lapsed, expired, transferred or abandoned, so there's nothing to look for.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: A check ran on this claim in the last 10 seconds. `retryAfter` says how long is left.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`timed_out`: We didn't finish within 25 seconds. A check that was running is still saved: read the claim before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/claims/{id}/challenge/rotate":{"post":{"operationId":"rotate","tags":["Claims"],"summary":"Get a new code","description":"Replace the claim's code with a fresh one that works for 7 days.\n\nUse it when a code has expired, when a claim has lapsed, or when the value may have been seen by someone it shouldn't have. The old code stops counting at once: a record that still holds it is reported as `stale_token`.\n\nWorks on pending, expired and lapsed claims, and puts them back to pending. A verified or at-risk claim keeps its code, because replacing it would un-verify the domain.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Claim"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"pending","explanation":{"headline":"Add this record at Namecheap","why":"Most records appear within a few minutes. Your code works until 2026-11-17.","fix":null,"action":{"kind":"check_now","label":"Check now"}},"record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=k7m2vq9d4tzh6wpx3nby8rcj5a","ttl":300},"instructions":{"providerId":"namecheap","name":"Namecheap","hostFieldLabel":"Host","valueFieldLabel":"Value","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","steps":["Sign in to Namecheap and open Domain List.","Click Manage next to your domain, then open the Advanced DNS tab.","Click Add New Record and choose TXT Record."],"notes":["Namecheap adds your domain to the Host automatically. Enter only the part shown, without your domain."]},"timing":{"lastCheckedAt":null,"nextCheckAt":"2026-11-10T09:52:30.000Z","expiresAt":"2026-11-17T09:52:00.000Z","canCheckNowAt":null},"phase":"add_record"},"zoneApex":"yourcompany.com","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"domainConnect":null,"lastCheck":null,"events":[{"id":"evt_ffdfc61a-a52c-41ae-b7e0-b1a5f12ab878","type":"TOKEN_ROTATED","actorKind":"user","at":"2026-11-10T09:52:00.000Z","detail":null},{"id":"evt_d7cfcc54-2810-4f98-9bf3-b3708cb969cb","type":"CHECK_FAILED","actorKind":"user","at":"2026-11-10T09:34:12.480Z","detail":"lookalike_character"},{"id":"evt_c02ad8dd-985a-4088-a76d-6ed23d61cc5b","type":"CLAIM_CREATED","actorKind":"user","at":"2026-11-10T09:30:00.000Z","detail":null}]}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`illegal_transition`: The claim is verified, at risk, transferred or abandoned.\n\n`version_conflict`: The claim changed while this request was running. Read it again and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}/abandon":{"post":{"operationId":"abandon","tags":["Claims"],"summary":"Abandon a claim","description":"Stop a claim you no longer want. It can't be undone.\n\nThe claim stops being checked and the name is free for a new attempt. `abandoned` is a final status: to try the same domain again, create a new claim.\n\nWorks on pending, expired and lapsed claims. A verified domain can't be abandoned through the API: remove the DNS record and it lapses on its own after the 7-day grace period.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Claim"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"abandoned","explanation":{"headline":"You stopped claiming this domain","why":"We've stopped checking it. You can remove the record from your DNS.","fix":null,"action":{"kind":"none","label":"Nothing to do"}},"phase":"abandoned","abandonedAt":"2026-11-10T09:58:44.707Z"},"zoneApex":"yourcompany.com","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"domainConnect":null,"lastCheck":{"id":"chk_7ecf20b2-d091-4355-b731-a5ee5dd8c6b9","trigger":"user","startedAt":"2026-11-10T09:34:12.392Z","finishedAt":"2026-11-10T09:34:12.480Z","durationMs":88,"outcomeKind":"mismatch","outcome":{"kind":"mismatch","reason":"lookalike_character","found":"prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay","expected":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","diffAt":34},"observations":[{"resolver":"authoritative:dns1.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"authoritative:dns2.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"google","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null},{"resolver":"cloudflare","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hn5mgqxceo2xd6orgeay"],"cnameChain":[],"ad":false,"latencyMs":31,"error":null}]},"events":[{"id":"evt_60d4a8d8-99d5-4370-816e-d52ddaf893ea","type":"ABANDONED","actorKind":"user","at":"2026-11-10T09:58:44.707Z","detail":null},{"id":"evt_d7cfcc54-2810-4f98-9bf3-b3708cb969cb","type":"CHECK_FAILED","actorKind":"user","at":"2026-11-10T09:34:12.480Z","detail":"lookalike_character"},{"id":"evt_c02ad8dd-985a-4088-a76d-6ed23d61cc5b","type":"CLAIM_CREATED","actorKind":"user","at":"2026-11-10T09:30:00.000Z","detail":null}]}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`illegal_transition`: The claim is verified, at risk, transferred or already abandoned.\n\n`version_conflict`: The claim changed while this request was running. Read it again and retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}/zone-file":{"get":{"operationId":"zoneFile","tags":["Claims"],"summary":"Get the record as a zone-file line","description":"The record in BIND zone-file format, for providers that take an import.\n\nOne 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.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"line":{"type":"string","description":"The record as one line of a BIND zone file."}},"required":["line"],"additionalProperties":false},"example":{"line":"_prufy-challenge.yourcompany.com. 300 IN TXT \"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay\""}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}/shares":{"post":{"operationId":"createShare","tags":["Setup links"],"summary":"Create a setup link","description":"Make a link that lets someone else add the record, and optionally email it.\n\nThe link shows one claim's record and lets its holder ask for a check. That's all adding a record takes. It can't get a new code, stop the claim or see anything else, so it's safe to forward to an agency or hand to an agent.\n\nSend an empty object to get a link to copy. Add `email` and we send it too, with your `note` if you wrote one. `emailed` says whether that worked.\n\nA link works for 30 days. The claim has to be pending or at risk, because those are the two states where a record needs adding.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"description":"Who should get the link by email. Leave it out to only get the link back.","type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"note":{"description":"A line from you, added to the email. It can't contain a link: the setup link is added for you.","type":"string","maxLength":280}}},"example":{"email":"it@yourcompany.com","note":"Could you add this TXT record? It proves the domain is ours."}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The setup link. Whoever has it can see the record and run a check."},"emailed":{"type":"boolean","description":"True when the link was also sent to `email`."},"expiresAt":{"type":"string","description":"When the link stops working: 30 days from now."}},"required":["url","emailed","expiresAt"],"additionalProperties":false},"example":{"url":"https://www.prufy.dev/setup/hVx6J3zTcbYj4346Es7BIgP90GoSrAFEw_PCGOjUwlQ","emailed":true,"expiresAt":"2026-12-10T09:31:20.175Z"}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`not_checkable`: The claim isn't pending or at risk, so there's no record for anyone to add.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: More than 10 links for this claim in an hour. With `email`: more than 5 emailed invites from this account in an hour, more than 10 from this network address in an hour, or more than 3 to the same address in 24 hours.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`email_unavailable`: `email` was given, but this server has no email set up. Leave it out and copy the link.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/setup/{token}":{"get":{"operationId":"setup","tags":["Setup links"],"summary":"Retrieve a claim by setup link","description":"What the person helping gets to see: the record, the steps and the status.\n\nNo session here on purpose. The token in the path is the whole credential, so this works from any device.\n\nThe response is a claim without its history: no events, no nameservers, no Domain Connect details.\n\nThe first time a link is opened, the owner's timeline records it.","security":[],"x-access":"Token in the request","parameters":[{"name":"token","in":"path","required":true,"description":"The last part of a setup link's address.","schema":{"type":"string"},"example":"hVx6J3zTcbYj4346Es7BIgP90GoSrAFEw_PCGOjUwlQ"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupView"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"pending","explanation":{"headline":"Add this record at Namecheap","why":"Most records appear within a few minutes. Your code works until 2026-11-17.","fix":null,"action":{"kind":"check_now","label":"Check now"}},"record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","ttl":300},"instructions":{"providerId":"namecheap","name":"Namecheap","hostFieldLabel":"Host","valueFieldLabel":"Value","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","steps":["Sign in to Namecheap and open Domain List.","Click Manage next to your domain, then open the Advanced DNS tab.","Click Add New Record and choose TXT Record."],"notes":["Namecheap adds your domain to the Host automatically. Enter only the part shown, without your domain."]},"timing":{"lastCheckedAt":null,"nextCheckAt":"2026-11-10T09:30:30.000Z","expiresAt":"2026-11-17T09:30:00.000Z","canCheckNowAt":null},"phase":"add_record"},"zoneApex":"yourcompany.com","lastCheck":null}}}},"404":{"description":"`not_found`: The link is malformed, unknown or more than 30 days old. All three get the same answer, so they can't be told apart.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/setup/{token}/checks":{"post":{"operationId":"setupCheck","tags":["Setup links"],"summary":"Run a check by setup link","description":"Look for the record now, on behalf of whoever holds the link.\n\nThe same check the owner can run, and it shares the owner's limit: one check per claim every 10 seconds, whoever asks.\n\nThe audit log records the link as the one who asked, not the owner.","security":[],"x-access":"Token in the request","parameters":[{"name":"token","in":"path","required":true,"description":"The last part of a setup link's address.","schema":{"type":"string"},"example":"hVx6J3zTcbYj4346Es7BIgP90GoSrAFEw_PCGOjUwlQ"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupView"},"example":{"view":{"claimId":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10","domainAscii":"yourcompany.com","domainUnicode":"yourcompany.com","dnsHost":{"providerId":"namecheap","name":"Namecheap","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"parked":false},"status":"pending","explanation":{"headline":"Usually a few minutes: public DNS is catching up","why":"Namecheap has your record. We're waiting on Google Public DNS, Cloudflare DNS to see it.","fix":"Nothing to do. We'll keep checking automatically.","action":{"kind":"wait","label":"Checking automatically"}},"record":{"type":"TXT","host":"_prufy-challenge","fullName":"_prufy-challenge.yourcompany.com","value":"prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay","ttl":300},"instructions":{"providerId":"namecheap","name":"Namecheap","hostFieldLabel":"Host","valueFieldLabel":"Value","settingsUrl":"https://ap.www.namecheap.com/Domains/DomainControlPanel/yourcompany.com/advancedns","steps":["Sign in to Namecheap and open Domain List.","Click Manage next to your domain, then open the Advanced DNS tab.","Click Add New Record and choose TXT Record."],"notes":["Namecheap adds your domain to the Host automatically. Enter only the part shown, without your domain."]},"timing":{"lastCheckedAt":"2026-11-10T09:34:12.480Z","nextCheckAt":"2026-11-10T09:34:42.480Z","expiresAt":"2026-11-17T09:30:00.000Z","canCheckNowAt":"2026-11-10T09:34:22.471Z"},"phase":"waiting_for_dns","outcome":{"kind":"propagating","seenBy":["authoritative:dns1.registrar-servers.com","authoritative:dns2.registrar-servers.com"],"notYet":["google","cloudflare"]}},"zoneApex":"yourcompany.com","lastCheck":{"id":"chk_2a9d1c6e-7f40-4b0e-9a55-0c1d3e8f6b27","trigger":"user","startedAt":"2026-11-10T09:34:12.392Z","finishedAt":"2026-11-10T09:34:12.480Z","durationMs":88,"outcomeKind":"propagating","outcome":{"kind":"propagating","seenBy":["authoritative:dns1.registrar-servers.com","authoritative:dns2.registrar-servers.com"],"notYet":["google","cloudflare"]},"observations":[{"resolver":"authoritative:dns1.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"authoritative:dns2.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NOERROR","answers":["prufy-domain-verification=xwqyp4hnsmgqxceo2xd6orgeay"],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"google","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":false,"latencyMs":31,"error":null},{"resolver":"cloudflare","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":false,"latencyMs":31,"error":null}]}}}}},"404":{"description":"`not_found`: The link is malformed, unknown or more than 30 days old. All three get the same answer, so they can't be told apart.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`check_in_flight`: Another check of this claim is running right now. Try again in a few seconds.\n\n`not_checkable`: The claim is lapsed, expired, transferred or abandoned, so there's nothing to look for.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: A check ran on this claim in the last 10 seconds. `retryAfter` says how long is left.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications":{"get":{"operationId":"notifications","tags":["Alerts"],"summary":"Retrieve alert settings","description":"Where alerts go for this session, and which channels this server can use.\n\nWorks with no session too, so a client knows which channels to offer before anyone has claimed a domain. `capabilities.email` is false when the server has no email set up, and `capabilities.pushPublicKey` is null when push is off.\n\nAlerts are sent for six moments only: verified, at risk, recovered, lapsed, expired and transferred. Routine checks never send anything.","security":[{"session":[]},{}],"x-access":"Session cookie, optional","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSettings"},"example":{"email":{"address":"owner@yourcompany.com","verified":true},"pushDevices":1,"capabilities":{"email":true,"pushPublicKey":"BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U"}}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications/email":{"put":{"operationId":"setEmail","tags":["Alerts"],"summary":"Set the alert email","description":"Choose the address alerts go to. We send a confirmation link first.\n\nNothing is sent to the address until its owner presses the button in the confirmation email. That link works for 24 hours. Until then the response shows the address with `verified: false`.\n\nSetting a new address replaces the old one.","security":[{"session":[]}],"x-access":"Session cookie","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"The address alerts should go to."}},"required":["email"]},"example":{"email":"owner@yourcompany.com"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSettings"},"example":{"email":{"address":"owner@yourcompany.com","verified":false},"pushDevices":1,"capabilities":{"email":true,"pushPublicKey":"BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U"}}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: The account has changed its address 5 times in the last hour.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`email_unavailable`: This server has no email set up, or the confirmation couldn't be sent to that address.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"removeEmail","tags":["Alerts"],"summary":"Remove the alert email","description":"Stop sending alerts by email and forget the address.\n\nAnswers with the settings as they are afterwards, with `email: null`.","security":[{"session":[]}],"x-access":"Session cookie","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSettings"},"example":{"email":null,"pushDevices":1,"capabilities":{"email":true,"pushPublicKey":"BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U"}}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications/email/confirm":{"post":{"operationId":"confirmEmail","tags":["Alerts"],"summary":"Confirm the alert email","description":"Turn a confirmation token into a confirmed address.\n\nNo session needed: the token is the credential, and the person confirming may be on a different device from the one that asked.\n\nIt's a POST from a button, so opening the emailed link can't confirm anything by itself. `confirmed` is false when the token is unknown, used or more than 24 hours old, and that's still a 200.","security":[],"x-access":"Token in the request","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":1,"maxLength":200,"description":"The token from the confirmation link."}},"required":["token"]},"example":{"token":"Q0s8n1Jr6bTqM3uZxW5eYd2LkPvA7hGfC9oXiR4tNwE"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"confirmed":{"type":"boolean","description":"True when the token was good. It only works once."}},"required":["confirmed"],"additionalProperties":false},"example":{"confirmed":true}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications/email/unsubscribe":{"post":{"operationId":"unsubscribeEmail","tags":["Alerts"],"summary":"Unsubscribe from alert emails","description":"Stop alert emails using the token from any alert's footer.\n\nMail apps call this when someone presses their own Unsubscribe button, which is why the token is in the query string and not the body.\n\nIt answers 200 either way, so pressing twice isn't an error. `unsubscribed` is false when the token is missing or not one of ours.","security":[],"x-access":"Token in the request","parameters":[{"name":"token","in":"query","required":true,"description":"The token from the unsubscribe link in an alert email.","schema":{"type":"string"},"example":"9l2mJmZ1hKq0c3o1b8yJ4n0Hk3z7d5WcXv2pQe8sT1A"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"unsubscribed":{"type":"boolean","description":"True when the token matched an address."}},"required":["unsubscribed"],"additionalProperties":false},"example":{"unsubscribed":true}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications/push":{"post":{"operationId":"subscribePush","tags":["Alerts"],"summary":"Subscribe a browser to push","description":"Register a browser's push subscription, so alerts arrive as notifications.\n\nThe body is what `PushManager.subscribe()` returns, made with the key in `capabilities.pushPublicKey`. Only endpoints at the push services browsers actually use are accepted.\n\nSubscribing the same endpoint twice keeps one subscription.","security":[{"session":[]}],"x-access":"Session cookie","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string","maxLength":2000,"format":"uri","description":"The push service's address for this browser."},"keys":{"type":"object","properties":{"p256dh":{"type":"string","minLength":1,"maxLength":256,"description":"The browser's public key."},"auth":{"type":"string","minLength":1,"maxLength":128,"description":"The browser's authentication secret."}},"required":["p256dh","auth"],"description":"The subscription's keys, as the browser gives them."}},"required":["endpoint","keys"]},"example":{"endpoint":"https://fcm.googleapis.com/fcm/send/dQw4w9WgXcQ:APA91bHPRgkF3JUikC4ENAHEeMrd41Zxv3hVZjC9KtT8OvPVGJ","keys":{"p256dh":"BNcRdreALRFXTkOOUHK1EtK2wtaz5Ry4YfYCA_0QTpQtUbVlUls0VJXg7A8u-Ts1XbjhazAkj7I99e8QcYP7DkM","auth":"tBHItJI5svbpez7KI4CCXg"}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSettings"},"example":{"email":{"address":"owner@yourcompany.com","verified":true},"pushDevices":2,"capabilities":{"email":true,"pushPublicKey":"BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U"}}}}},"400":{"description":"`bad_request`: The body doesn't match the shape below, or the endpoint isn't a push service we recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`push_unavailable`: This server has no push keys set up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"unsubscribePush","tags":["Alerts"],"summary":"Unsubscribe a browser from push","description":"Remove one browser's push subscription.\n\nRemoving an endpoint that isn't subscribed is not an error.","security":[{"session":[]}],"x-access":"Session cookie","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string","maxLength":2000,"format":"uri","description":"The endpoint that was subscribed."}},"required":["endpoint"]},"example":{"endpoint":"https://fcm.googleapis.com/fcm/send/dQw4w9WgXcQ:APA91bHPRgkF3JUikC4ENAHEeMrd41Zxv3hVZjC9KtT8OvPVGJ"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertSettings"},"example":{"email":{"address":"owner@yourcompany.com","verified":true},"pushDevices":1,"capabilities":{"email":true,"pushPublicKey":"BEl62iUYgUivxIkv69yViEuiBIa-Ib9-SkvMeAtA3LFgDzkrxZJjSgSnfckjBJuBkr3qBUYIHBQFLXYp5Nksh8U"}}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/notifications/test":{"post":{"operationId":"testAlert","tags":["Alerts"],"summary":"Send a test alert","description":"Send a sample alert to every channel this account has set up.\n\n`delivered` counts the confirmed email address and each subscribed browser that took it. Zero means nothing is set up yet, or the address hasn't been confirmed.","security":[{"session":[]}],"x-access":"Session cookie","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"delivered":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many inboxes and browsers took the alert."}},"required":["delivered"],"additionalProperties":false},"example":{"delivered":2}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: The account has sent 10 test alerts in the last hour.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/sign-in":{"post":{"operationId":"requestSignIn","tags":["Signing in"],"summary":"Request a sign-in link","description":"Email a sign-in link to an account's confirmed alert address.\n\nThis is how a second device, or a browser that lost its cookie, gets back to an account. Only an address that an account has confirmed for alerts gets an email. An address confirmed on several accounts gets one email with a link for each, named by its domains.\n\nThe answer is the same `{ requested: true }` whether or not the address is on an account, and the email is sent after the response, so neither the body, the status nor the timing says who has one.\n\nEach link works once, for 15 minutes, and opens a page with a button. Opening the link does nothing by itself, because mail scanners open every link.\n\nA terminal adds `terminal`: the SHA-256 of a secret it keeps. The link then shows a code to type into that terminal (Redeem a sign-in code), and the browser that opens it isn't signed in.","security":[],"x-access":"No credential","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"The address that gets this account's alerts. Only a confirmed alert address works."},"terminal":{"description":"For a terminal: the SHA-256, in hex, of a secret it keeps. The emailed link then shows a code to type into that terminal instead of signing in the browser.","type":"string","pattern":"^[0-9a-f]{64}$"}},"required":["email"]},"example":{"email":"owner@yourcompany.com"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"requested":{"type":"boolean","const":true,"description":"Always true, whether or not the address is on an account, so the answer can't be used to find out who has one."}},"required":["requested"],"additionalProperties":false},"example":{"requested":true}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: The address has been asked for 5 times in the last hour, or this network has asked 10 times. Counted the same for every address, known or not.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`email_unavailable`: This server has no email set up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/sign-in/redeem":{"post":{"operationId":"redeemSignIn","tags":["Signing in"],"summary":"Use a sign-in link","description":"Turn the token from a sign-in link into a session on this device.\n\nThe page the email opens calls this when its button is pressed. On success the response sets the session cookie, and this device is one more session on the account. A device that was signed in to a different account ends that session: its claims stay on that account, and nothing moves between accounts.\n\n`signedIn` is false when the token is unknown, used, expired, or the account's address has changed or been removed since the link was sent. That's still a 200.\n\nFor a link a terminal asked for, nobody is signed in: `terminalCode` is the code to type into that terminal.","security":[],"x-access":"Token in the request","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":1,"maxLength":200,"description":"The token from the emailed link."}},"required":["token"]},"example":{"token":"cN4vR7pQ2sT9wX1yZ5aB8dE3fG6hJ0kL4mP7qS2uV9w"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"signedIn":{"type":"boolean","description":"True when this device is now signed in. False when the link didn't work."},"terminalCode":{"description":"For a link a terminal asked for: the code to type into it. Null otherwise. Nobody is signed in until the terminal sends it.","type":["string","null"]}},"required":["signedIn","terminalCode"],"additionalProperties":false},"example":{"signedIn":true,"terminalCode":null}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: This network has used 30 links and codes in the last hour.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/sign-in/code":{"post":{"operationId":"redeemSignInCode","tags":["Signing in"],"summary":"Redeem a sign-in code","description":"A terminal trades the page's code and its own secret for a session.\n\n`verifier` is the secret whose SHA-256 the terminal sent when it asked for the link. It never left the terminal before this, so the code alone, read off someone's screen, is no use.\n\nThe code lasts 10 minutes from when the button was pressed. Case, spaces and the dash don't matter. After 5 wrong codes the sign-in is used up.\n\nOn success the session arrives in `Set-Cookie`, never in the body, the same way the first claim's does.","security":[],"x-access":"Token in the request","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"verifier":{"type":"string","minLength":32,"maxLength":200,"description":"The secret the terminal kept. Its SHA-256 is what it sent as `terminal`."},"code":{"type":"string","minLength":1,"maxLength":40,"description":"The code the sign-in page showed."}},"required":["verifier","code"]},"example":{"verifier":"Xh2kP9qL5mN8rT3vW6yZ1bC4dF7gJ0sA2eH5jK8nQ4u","code":"K7QM-4TZP"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"signedIn":{"type":"boolean","description":"True when the code was right. The session comes back in `Set-Cookie`, never in the body."}},"required":["signedIn"],"additionalProperties":false},"example":{"signedIn":true}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"`rate_limited`: This network has used 30 links and codes in the last hour.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/session":{"get":{"operationId":"session","tags":["Signing in"],"summary":"Retrieve this session","description":"Whether this device is signed in, and how many devices share the account.\n\n`email` is the confirmed alert address: the one that can sign another device in. When it's null, this device is the only way into the account.","security":[{"session":[]},{}],"x-access":"Session cookie, optional","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"signedIn":{"type":"boolean","description":"Whether this device has a session."},"devices":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many devices are signed in to this account, this one included."},"email":{"description":"The confirmed alert address, which is what signs another device in. Null when there isn't one.","type":["string","null"]}},"required":["signedIn","devices","email"],"additionalProperties":false},"example":{"signedIn":true,"devices":2,"email":"owner@yourcompany.com"}}}},"500":{"$ref":"#/components/responses/ServerError"}}},"delete":{"operationId":"signOut","tags":["Signing in"],"summary":"Sign out","description":"End this device's session on the server and clear its cookie.\n\nOnly the session that makes the request is ended. The account, its claims and its other devices are untouched, and the domains keep being checked.\n\nWith no session, or one we don't know, `signedOut` is false and the answer is still a 200, so repeating it is safe.","security":[{"session":[]},{}],"x-access":"Session cookie, optional","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"signedOut":{"type":"boolean","description":"True when a session was ended. False when there wasn't one, so repeating is safe."}},"required":["signedOut"],"additionalProperties":false},"example":{"signedOut":true}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/session/others":{"delete":{"operationId":"signOutOthers","tags":["Signing in"],"summary":"Sign out everywhere else","description":"End every other session on this account. This one stays signed in.\n\nFor a lost phone or a token that leaked. `signedOut` says how many sessions were ended.","security":[{"session":[]}],"x-access":"Session cookie","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"signedOut":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many other devices were signed out."}},"required":["signedOut"],"additionalProperties":false},"example":{"signedOut":1}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/v1/claims/{id}/domain-connect/url":{"post":{"operationId":"domainConnectUrl","tags":["Domain Connect"],"summary":"Get a one-click setup URL","description":"A signed link to the DNS provider's own page, where the owner approves the record.\n\nThis 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`.\n\n`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.\n\nComing back from the provider proves nothing. We record that they sent the person back, then ask DNS like any other check.","security":[{"session":[]}],"x-access":"Session cookie","parameters":[{"name":"id","in":"path","required":true,"description":"The claim's id, from Create a claim or List claims. It starts with `clm_`.","schema":{"type":"string"},"example":"clm_4b1f7c1e-52e7-4c0a-9a3b-7d2f0c6e8a10"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Where to send the owner. It's signed, and it works once."}},"required":["url"],"additionalProperties":false},"example":{"url":"https://dcc.godaddy.com/manage/v2/domainTemplates/providers/prufy.dev/services/ownership/apply?domain=yourcompany.com&redirect_uri=https%3A%2F%2Fwww.prufy.dev%2Fdomain-connect%2Freturn&state=Zr8s1nK4q0vXc2LmT7yBhJ5dWfE9oAiP3uGtR6eNwQk&token=xwqyp4hnsmgqxceo2xd6orgeay&sig=Jx3k...&key=_dcpubkeyv1"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: No claim has this id in your account. Another account's claim looks the same as one that doesn't exist.\n\n`domain_connect_disabled`: The feature is turned off on this server.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"`domain_connect_unavailable`: The claim isn't pending, or the domain's provider doesn't support our template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/healthz":{"get":{"operationId":"healthz","tags":["System"],"summary":"Check the API is up","description":"Answers `{ ok: true }` when the server is running and its database answers.\n\nIt runs one query against the database, with a two-second limit, so a monitor pointed here finds out when claims can't be read or written. It doesn't look up DNS: a slow resolver isn't an outage.\n\nIt isn't versioned and never moves, so a monitor's address stays good. The failure never says why, because the reason can name internal hosts.","security":[],"x-access":"No credential","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true,"description":"Always true. Anything else is an error response."},"database":{"type":"object","properties":{"ok":{"type":"boolean","const":true,"description":"The database answered a query."},"latencyMs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How long that query took, in milliseconds."}},"required":["ok","latencyMs"],"additionalProperties":false,"description":"The one dependency every route needs."}},"required":["ok","database"],"additionalProperties":false},"example":{"ok":true,"database":{"ok":true,"latencyMs":3}}}}},"500":{"$ref":"#/components/responses/ServerError"},"503":{"description":"`unavailable`: The database didn't answer within two seconds, or refused the query. A 503 with `retryAfter`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/dns/inspect":{"get":{"operationId":"inspect","tags":["Development"],"summary":"Inspect a name's DNS","description":"What every resolver answers for any name, without creating a claim.\n\nA way to see raw observations while building: who runs the zone, and what each server says about the challenge record's name.","security":[{"session":[]}],"x-access":"Session cookie","x-development-only":true,"servers":[{"url":"http://localhost:5200","description":"Local development only."}],"parameters":[{"name":"name","in":"query","required":true,"description":"The domain to look up. Normalized the same way as a claim's input.","schema":{"type":"string","minLength":1,"maxLength":2000},"example":"verified.prufy-demo.dev"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"zone":{"type":"object","properties":{"kind":{"type":"string","enum":["delegated","nxdomain","lookup_failed"],"description":"Whether the name has nameservers, doesn't exist, or couldn't be looked up."},"apex":{"description":"The zone the name lives in, when it's delegated.","type":["string","null"]},"provider":{"description":"Who runs that zone, when it's delegated.","type":["string","null"]}},"required":["kind","apex","provider"],"additionalProperties":false,"description":"Who is in charge of this name's DNS."},"observations":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"serverIp":{"description":"The address that was asked, when we know it.","type":["string","null"]},"qname":{"type":"string","description":"The name that was looked up."},"qtype":{"type":"string","enum":["TXT","NS","SOA","CNAME","A","AAAA"],"description":"The record type that was asked for."},"rcode":{"anyOf":[{"type":"string","enum":["NOERROR","NXDOMAIN","SERVFAIL","REFUSED","OTHER"]},{"type":"null"}],"description":"The DNS response code. Null when no response arrived at all."},"answers":{"type":"array","items":{"type":"string"},"description":"The values that came back, one per record."},"cnameChain":{"type":"array","items":{"type":"string"},"description":"Any CNAMEs followed on the way to the answer."},"ad":{"description":"The DNSSEC authenticated-data flag. Null when the server can't report it.","type":["boolean","null"]},"latencyMs":{"type":"number","minimum":0,"description":"How long the answer took, in milliseconds."},"error":{"anyOf":[{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"]},{"type":"null"}],"description":"How the lookup went wrong, if it did."}},"required":["resolver","serverIp","qname","qtype","rcode","answers","cnameChain","ad","latencyMs","error"],"additionalProperties":false},"description":"What each DNS server answered."}},"required":["zone","observations"],"additionalProperties":false},"example":{"zone":{"kind":"delegated","apex":"yourcompany.com","provider":"Namecheap"},"observations":[{"resolver":"authoritative:dns1.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"authoritative:dns2.registrar-servers.com","serverIp":"192.0.2.53","qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":null,"latencyMs":18,"error":null},{"resolver":"google","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":false,"latencyMs":31,"error":null},{"resolver":"cloudflare","serverIp":null,"qname":"_prufy-challenge.yourcompany.com","qtype":"TXT","rcode":"NXDOMAIN","answers":[],"cnameChain":[],"ad":false,"latencyMs":31,"error":null}]}}}},"400":{"description":"`bad_request`: `name` is missing or longer than 2,000 characters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"`unauthorized`: The request has no session cookie, or one we don't recognise.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: The server is running in production.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"`empty`: The input is blank. This and the seven kinds below are a 422, each with a message that says what to type instead.\n\n`invalid_characters`: The input has characters a domain can't contain.\n\n`label_too_long`: One part between dots is longer than 63 characters.\n\n`too_long`: The whole name is longer than 253 characters.\n\n`ip_address`: The input is an IP address, not a domain.\n\n`reserved_tld`: The ending is set aside, like `.test` or `.localhost`.\n\n`public_suffix`: The input is a suffix many people share, like `co.uk`, not a domain under it.\n\n`single_label`: The input has no dot, so there's no ending to look up.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/dev/clock":{"post":{"operationId":"devClock","tags":["Development"],"summary":"Move the clock forward","description":"Advance the server's clock, so time-based states can be reached by hand.\n\nA code expires after 7 days and an at-risk claim lapses after 7 more. This skips the wait. The clock only moves forward, and it resets when the server restarts.\n\nMoving the clock doesn't run anything. Follow it with Run the worker to act on what's now due.","security":[],"x-access":"No credential","x-development-only":true,"servers":[{"url":"http://localhost:5200","description":"Local development only."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advanceMs":{"type":"integer","minimum":0,"maximum":31622400000,"description":"How far to move the clock forward, in milliseconds. At most 366 days."}},"required":["advanceMs"]},"example":{"advanceMs":604800000}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"now":{"type":"string","description":"The server's time after the move."}},"required":["now"],"additionalProperties":false},"example":{"now":"2026-11-17T09:30:04.211Z"}}}},"400":{"description":"`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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`not_found`: The server is running in production.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"`payload_too_large`: The body is over 16 KB. No route takes anything near that.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}},"/api/dev/run-worker":{"post":{"operationId":"devRunWorker","tags":["Development"],"summary":"Run the worker","description":"Do everything that's due right now: scheduled checks, expiries and lapses.\n\nThe same pass the background worker makes every 15 seconds. `processed` is how many claims it handled.","security":[],"x-access":"No credential","x-development-only":true,"servers":[{"url":"http://localhost:5200","description":"Local development only."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"processed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many claims were due and handled."}},"required":["processed"],"additionalProperties":false},"example":{"processed":1}}}},"404":{"description":"`not_found`: The server is running in production.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"securitySchemes":{"session":{"type":"apiKey","in":"cookie","name":"prufy_session","description":"Set by Create a claim on a request that has no session. HttpOnly, SameSite=Lax, and good for 400 days."}},"schemas":{"Claim":{"type":"object","properties":{"view":{"oneOf":[{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"add_record"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, and no check of the current code has run yet."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"checking"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, with a check running right now."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"waiting_for_dns"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The record is right and DNS is still catching up."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"fix_needed"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The last check found something to change, and `outcome` says what."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"try_again_later"},"outcome":{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. DNS couldn't be reached, so we'll try again."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"verified"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"lastSeenAt":{"type":"string","description":"When a check last found the record."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","verifiedAt","lastSeenAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Ownership is proven. The record has to stay, and we re-check it daily."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"at_risk"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"atRiskSince":{"type":"string","description":"When a check first found the record missing."},"lapsesAt":{"type":"string","description":"When ownership ends if the record isn't back: 7 days on."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","instructions","verifiedAt","atRiskSince","lapsesAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Verified, but the record has gone missing. Put it back before `lapsesAt`."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"lapsed"},"lapsedAt":{"type":"string","description":"When ownership ended."},"lastSeenAt":{"type":"string","description":"When a check last found the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","lapsedAt","lastSeenAt"],"additionalProperties":false,"description":"The record stayed missing past the grace period. Get a new code to start over."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"expired"},"expiredAt":{"type":"string","description":"When the code stopped working."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","expiredAt"],"additionalProperties":false,"description":"The code ran out before the record was found. Get a new code to carry on."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"transferred"},"transferredAt":{"type":"string","description":"When another account proved the domain."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","transferredAt"],"additionalProperties":false,"description":"Another account proved this domain more recently. Final."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"abandoned"},"abandonedAt":{"type":"string","description":"When the claim was stopped."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","abandonedAt"],"additionalProperties":false,"description":"Stopped by its owner. Final."}],"description":"The claim as it stands right now. Switch on `phase`."},"zoneApex":{"type":"string","description":"The zone the record belongs in. It decides what to type in the host field."},"nameservers":{"type":"array","items":{"type":"string"},"description":"The domain's nameservers, as found at claim time."},"domainConnect":{"anyOf":[{"type":"object","properties":{"state":{"type":"string","enum":["available","not_enabled"],"description":"`available` when the provider takes our template, `not_enabled` when it doesn't yet."},"providerName":{"type":"string","description":"The provider's name."},"applyEnabled":{"type":"boolean","description":"Whether this server will hand out a one-click setup URL."}},"required":["state","providerName","applyEnabled"],"additionalProperties":false},{"type":"null"}],"description":"One-click setup for this domain. Null when its provider doesn't take part."},"lastCheck":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"The check's id. It starts with `chk_`."},"trigger":{"anyOf":[{"type":"string","enum":["user","schedule","system"]},{"type":"string"}],"description":"Who asked: `user` for Run a check, `schedule` for our own, `system` otherwise."},"startedAt":{"type":"string","description":"When the check started."},"finishedAt":{"description":"When it finished. Null while it's running.","type":["string","null"]},"durationMs":{"description":"How long it took, in milliseconds.","type":["number","null"]},"outcomeKind":{"anyOf":[{"type":"string","enum":["verified","propagating","mismatch","not_found","lookup_error"]},{"type":"null"}],"description":"`outcome.kind`, repeated on its own."},"outcome":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."},{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."},{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}]},{"type":"null"}],"description":"What the check concluded."},"observations":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"serverIp":{"description":"The address that was asked, when we know it.","type":["string","null"]},"qname":{"type":"string","description":"The name that was looked up."},"qtype":{"type":"string","enum":["TXT","NS","SOA","CNAME","A","AAAA"],"description":"The record type that was asked for."},"rcode":{"anyOf":[{"type":"string","enum":["NOERROR","NXDOMAIN","SERVFAIL","REFUSED","OTHER"]},{"type":"null"}],"description":"The DNS response code. Null when no response arrived at all."},"answers":{"type":"array","items":{"type":"string"},"description":"The values that came back, one per record."},"cnameChain":{"type":"array","items":{"type":"string"},"description":"Any CNAMEs followed on the way to the answer."},"ad":{"description":"The DNSSEC authenticated-data flag. Null when the server can't report it.","type":["boolean","null"]},"latencyMs":{"type":"number","minimum":0,"description":"How long the answer took, in milliseconds."},"error":{"anyOf":[{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"]},{"type":"null"}],"description":"How the lookup went wrong, if it did."}},"required":["resolver","serverIp","qname","qtype","rcode","answers","cnameChain","ad","latencyMs","error"],"additionalProperties":false},"description":"What each DNS server answered. The evidence behind the outcome."}},"required":["id","trigger","startedAt","finishedAt","durationMs","outcomeKind","outcome","observations"],"additionalProperties":false},{"type":"null"}],"description":"The latest check of the current code. Null until one has run."},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The event's id."},"type":{"anyOf":[{"type":"string","enum":["CHECK_PASSED","CHECK_FAILED","CHALLENGE_EXPIRED","TOKEN_ROTATED","RECORD_MISSING","GRACE_ELAPSED","SUPERSEDED_BY_OTHER_ACCOUNT","ABANDONED","CLAIM_CREATED","OWNERSHIP_TAKEN_OVER","OWNERSHIP_RACE_LOST","ILLEGAL_TRANSITION","DOMAIN_CONNECT_STARTED","DOMAIN_CONNECT_APPROVED","DOMAIN_CONNECT_CANCELLED","SHARE_CREATED","SHARE_OPENED"]},{"type":"string"}],"description":"What happened. New types can be added: skip one you don't know."},"actorKind":{"anyOf":[{"type":"string","enum":["user","system"]},{"type":"string"}],"description":"`user` for something a person asked for, `system` for something we did."},"at":{"type":"string","description":"When it happened."},"detail":{"description":"A short note, when there's more to say.","type":["string","null"]}},"required":["id","type","actorKind","at","detail"],"additionalProperties":false},"description":"The claim's history, newest first. The latest 50."}},"required":["view","zoneApex","nameservers","domainConnect","lastCheck","events"],"additionalProperties":false},"SetupView":{"type":"object","properties":{"view":{"oneOf":[{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"add_record"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, and no check of the current code has run yet."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"checking"}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase"],"additionalProperties":false,"description":"Pending, with a check running right now."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"waiting_for_dns"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The record is right and DNS is still catching up."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"fix_needed"},"outcome":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."}],"description":"What the last check concluded."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. The last check found something to change, and `outcome` says what."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"timing":{"type":"object","properties":{"lastCheckedAt":{"description":"When the last check finished, if one has.","type":["string","null"]},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"expiresAt":{"type":"string","description":"When this code stops working: 7 days after it was issued."},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["lastCheckedAt","nextCheckAt","expiresAt","canCheckNowAt"],"additionalProperties":false,"description":"When things happened and when they'll happen next."},"phase":{"type":"string","const":"try_again_later"},"outcome":{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","record","instructions","timing","phase","outcome"],"additionalProperties":false,"description":"Pending. DNS couldn't be reached, so we'll try again."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"verified"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"lastSeenAt":{"type":"string","description":"When a check last found the record."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","verifiedAt","lastSeenAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Ownership is proven. The record has to stay, and we re-check it daily."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"at_risk"},"record":{"type":"object","properties":{"type":{"type":"string","const":"TXT"},"host":{"type":"string","description":"What to type in the provider's host field. Already adjusted for providers that add the domain themselves."},"fullName":{"type":"string","pattern":"^_prufy-challenge\\.[\\s\\S]{0,}$","description":"The record's full name, which is where we look."},"value":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value to paste, exactly."},"ttl":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"A suggested TTL, in seconds."}},"required":["type","host","fullName","value","ttl"],"additionalProperties":false,"description":"The one DNS record that proves ownership."},"instructions":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs this domain's DNS, as far as we can tell."},"name":{"type":"string","description":"The provider's name, or “your DNS provider” when unknown."},"hostFieldLabel":{"type":"string","description":"What this provider calls the host field."},"valueFieldLabel":{"type":"string","description":"What this provider calls the value field."},"settingsUrl":{"type":"string","description":"Where its DNS settings are."},"steps":{"type":"array","items":{"type":"string"},"description":"How to get to the right screen, in order."},"notes":{"type":"array","items":{"type":"string"},"description":"What this provider does differently."}},"required":["providerId","name","hostFieldLabel","valueFieldLabel","settingsUrl","steps","notes"],"additionalProperties":false,"description":"How to add the record at this domain's provider, in that provider's words."},"verifiedAt":{"type":"string","description":"When ownership was first proven."},"atRiskSince":{"type":"string","description":"When a check first found the record missing."},"lapsesAt":{"type":"string","description":"When ownership ends if the record isn't back: 7 days on."},"nextCheckAt":{"description":"When we'll look next on our own. Null when nothing is scheduled.","type":["string","null"]},"canCheckNowAt":{"description":"When Run a check is allowed again. Null means now.","type":["string","null"]}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","record","instructions","verifiedAt","atRiskSince","lapsesAt","nextCheckAt","canCheckNowAt"],"additionalProperties":false,"description":"Verified, but the record has gone missing. Put it back before `lapsesAt`."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"lapsed"},"lapsedAt":{"type":"string","description":"When ownership ended."},"lastSeenAt":{"type":"string","description":"When a check last found the record."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","lapsedAt","lastSeenAt"],"additionalProperties":false,"description":"The record stayed missing past the grace period. Get a new code to start over."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"expired"},"expiredAt":{"type":"string","description":"When the code stopped working."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","expiredAt"],"additionalProperties":false,"description":"The code ran out before the record was found. Get a new code to carry on."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"transferred"},"transferredAt":{"type":"string","description":"When another account proved the domain."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","transferredAt"],"additionalProperties":false,"description":"Another account proved this domain more recently. Final."},{"type":"object","properties":{"claimId":{"type":"string","description":"The claim's id."},"domainAscii":{"type":"string","description":"The domain as DNS stores it."},"domainUnicode":{"type":"string","description":"The domain as a person reads it."},"status":{"type":"string","enum":["pending","verified","at_risk","lapsed","expired","transferred","abandoned"],"description":"The stored status. `phase` says more."},"dnsHost":{"type":"object","properties":{"providerId":{"type":"string","enum":["godaddy","cloudflare","namecheap","route53","vercel","ionos","squarespace","hostinger","wix","porkbun","google_cloud_dns","cpanel","unknown"],"description":"Who runs the DNS, judged by the nameservers."},"name":{"description":"The provider's name. Null when the nameservers aren't one we know.","type":["string","null"]},"settingsUrl":{"description":"A link to this domain's DNS settings there. Null when we have none.","type":["string","null"]},"nameservers":{"type":"array","items":{"type":"string"},"description":"What the domain answers from. Empty until public DNS has nameservers for it."},"parked":{"type":"boolean","description":"True when the nameservers belong to a parking service, which usually can't hold records."}},"required":["providerId","name","settingsUrl","nameservers","parked"],"additionalProperties":false,"description":"Who answers for this domain's DNS, and where to go to change it. On every view."},"explanation":{"type":"object","properties":{"headline":{"type":"string","description":"What happened, in one line."},"why":{"type":"string","description":"Why, in a sentence or two."},"fix":{"description":"The one thing to do next. Null when there's nothing.","type":["string","null"]},"action":{"type":"object","properties":{"kind":{"type":"string","enum":["check_now","wait","new_code","none"],"description":"`check_now` to run a check, `wait` when we're checking on our own, `new_code` to get a new code, `none` when it's done."},"label":{"type":"string","description":"What to call that action on a button."}},"required":["kind","label"],"additionalProperties":false,"description":"The next step, as something a client can act on."}},"required":["headline","why","fix","action"],"additionalProperties":false,"description":"Where the claim stands, in plain words. Written to be shown as it is."},"phase":{"type":"string","const":"abandoned"},"abandonedAt":{"type":"string","description":"When the claim was stopped."}},"required":["claimId","domainAscii","domainUnicode","status","dnsHost","explanation","phase","abandonedAt"],"additionalProperties":false,"description":"Stopped by its owner. Final."}],"description":"The claim as it stands right now. Switch on `phase`."},"zoneApex":{"type":"string","description":"The zone the record belongs in. It decides what to type in the host field."},"lastCheck":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"The check's id. It starts with `chk_`."},"trigger":{"anyOf":[{"type":"string","enum":["user","schedule","system"]},{"type":"string"}],"description":"Who asked: `user` for Run a check, `schedule` for our own, `system` otherwise."},"startedAt":{"type":"string","description":"When the check started."},"finishedAt":{"description":"When it finished. Null while it's running.","type":["string","null"]},"durationMs":{"description":"How long it took, in milliseconds.","type":["number","null"]},"outcomeKind":{"anyOf":[{"type":"string","enum":["verified","propagating","mismatch","not_found","lookup_error"]},{"type":"null"}],"description":"`outcome.kind`, repeated on its own."},"outcome":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"verified"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."}},"required":["kind","seenBy"],"additionalProperties":false,"description":"Every server we asked has the record with the right value."},{"type":"object","properties":{"kind":{"type":"string","const":"propagating"},"seenBy":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers that have the record."},"notYet":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"description":"The servers still waiting for it."}},"required":["kind","seenBy","notYet"],"additionalProperties":false,"description":"The record is right, and some servers don't have it yet. Nothing to fix."},{"type":"object","properties":{"kind":{"type":"string","const":"mismatch"},"reason":{"type":"string","enum":["lookalike_character","truncated","extra_quotes","extra_whitespace","wrong_prefix","stale_token","different_token"],"description":"How the value differs."},"found":{"type":"string","description":"The value DNS holds."},"expected":{"type":"string","pattern":"^prufy-domain-verification=[\\s\\S]{0,}$","description":"The value it should hold."},"diffAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The position of the first character that differs, counting from 0."}},"required":["kind","reason","found","expected","diffAt"],"additionalProperties":false,"description":"There's a record at the name, and its value isn't the code."},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"reason":{"type":"string","enum":["nothing_at_name","host_doubled","wrong_name","not_at_authoritative","cname_at_name","nxdomain_zone"],"description":"Where the record is, or why it can't be there."}},"required":["kind","reason"],"additionalProperties":false,"description":"No record with the code at the name we check."},{"type":"object","properties":{"kind":{"type":"string","const":"lookup_error"},"failures":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"error":{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"],"description":"How the lookup went wrong."}},"required":["resolver","error"],"additionalProperties":false},"description":"Each server that couldn't be asked."}},"required":["kind","failures"],"additionalProperties":false,"description":"DNS couldn't be reached, so this check says nothing about the record."}]},{"type":"null"}],"description":"What the check concluded."},"observations":{"type":"array","items":{"type":"object","properties":{"resolver":{"anyOf":[{"type":"string","pattern":"^authoritative:[\\s\\S]{0,}$"},{"type":"string","enum":["google","cloudflare"]}],"description":"Who answered: `authoritative:<nameserver>` for one of the domain's own servers, or a public resolver."},"serverIp":{"description":"The address that was asked, when we know it.","type":["string","null"]},"qname":{"type":"string","description":"The name that was looked up."},"qtype":{"type":"string","enum":["TXT","NS","SOA","CNAME","A","AAAA"],"description":"The record type that was asked for."},"rcode":{"anyOf":[{"type":"string","enum":["NOERROR","NXDOMAIN","SERVFAIL","REFUSED","OTHER"]},{"type":"null"}],"description":"The DNS response code. Null when no response arrived at all."},"answers":{"type":"array","items":{"type":"string"},"description":"The values that came back, one per record."},"cnameChain":{"type":"array","items":{"type":"string"},"description":"Any CNAMEs followed on the way to the answer."},"ad":{"description":"The DNSSEC authenticated-data flag. Null when the server can't report it.","type":["boolean","null"]},"latencyMs":{"type":"number","minimum":0,"description":"How long the answer took, in milliseconds."},"error":{"anyOf":[{"type":"string","enum":["timeout","servfail","refused","network","bad_response","no_nameserver_address"]},{"type":"null"}],"description":"How the lookup went wrong, if it did."}},"required":["resolver","serverIp","qname","qtype","rcode","answers","cnameChain","ad","latencyMs","error"],"additionalProperties":false},"description":"What each DNS server answered. The evidence behind the outcome."}},"required":["id","trigger","startedAt","finishedAt","durationMs","outcomeKind","outcome","observations"],"additionalProperties":false},{"type":"null"}],"description":"The latest check of the current code. Null until one has run."}},"required":["view","zoneApex","lastCheck"],"additionalProperties":false},"AlertSettings":{"type":"object","properties":{"email":{"anyOf":[{"type":"object","properties":{"address":{"type":"string","description":"Where alert emails go."},"verified":{"type":"boolean","description":"False until the confirmation link has been used."}},"required":["address","verified"],"additionalProperties":false},{"type":"null"}],"description":"The alert address. Null when none is set."},"pushDevices":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many browsers are subscribed to push."},"capabilities":{"type":"object","properties":{"email":{"type":"boolean","description":"Whether this server can send email at all."},"pushPublicKey":{"description":"The key a browser subscribes with. Null when push is off.","type":["string","null"]}},"required":["email","pushPublicKey"],"additionalProperties":false,"description":"Which channels this server can use."}},"required":["email","pushDevices","capabilities"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"kind":{"anyOf":[{"type":"string","enum":["empty","invalid_characters","label_too_long","too_long","ip_address","reserved_tld","public_suffix","single_label","unauthorized","not_found","method_not_allowed","bad_request","payload_too_large","rate_limited","check_in_flight","not_checkable","illegal_transition","version_conflict","owner_conflict","domain_connect_disabled","domain_connect_unavailable","email_unavailable","push_unavailable","timed_out","unavailable","internal_error"]},{"type":"string"}],"description":"What went wrong, as a value to switch on. New kinds can be added: treat one you don't know by its HTTP status."},"message":{"type":"string","description":"The same thing in plain words, written to show to a person."},"retryAfter":{"description":"Seconds to wait before trying again. Only on errors that waiting fixes.","type":"number"},"fields":{"description":"On `bad_request` for a body that doesn't fit: each part to fix. `message` repeats the first.","type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"Which part of the body, as a dotted path like `email` or `keys.auth`."},"message":{"type":"string","description":"What to change, in plain words."}},"required":["path","message"],"additionalProperties":false}}},"required":["kind","message"],"additionalProperties":false,"description":"Every response that isn't a success has exactly this."}},"required":["error"],"additionalProperties":false}},"responses":{"ServerError":{"description":"`internal_error`: Something went wrong on our side. Any route can answer this, and trying again in a moment is the right move.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}