site-controller

Confirm a code and get the pass

Returns a pass to send as the X-Pagegoat-Gate header on later requests. Its lifetime is the site's re-verify window.

post/api/sites/{slug}/capture/verify

Request

  • Base URL: https://api.pagegoat.com
  • URL: https://api.pagegoat.com/api/sites/{slug}/capture/verify
  • Auth: HTTP bearer

Path parameters

slugstring required

Request body

emailstring required

The address the code was sent to.

codestring required

The six digits from the email.

Example request

{
  "email": "dana.k@acme.io",
  "code": "472913"
}

Response

Correct — here is the pass.

Changes

No recorded changes to this operation across all 1 revision of this API.