Hatch

Check the domain’s TXT record

On this page

POST/api/workspaces/{workspace}/domains/{domain}/verify

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • workspace string (required)
  • domain string (required)

Response

200: It worked

  • domain WorkspaceDomain (required)

    • domain string (required): At most 300 characters
    • verified boolean (required)
    • record object

      • type "TXT" (required)
      • name string (required): At most 300 characters
      • value string (required): At most 300 characters

Other answers:

  • 4XX: Refused, with a message to show the person