site-controller

Unlock a password-protected site

Returns a pass to send as the X-Pagegoat-Gate header on later requests. Wrong passwords are rate limited per site and client address.

post/api/sites/{slug}/gate

Request

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

Path parameters

slugstring required

Request body

passwordstring required

Required.

Example request

{
  "password": "mR7k-qP2w-vT9x"
}

Response

Correct — here is the pass.

Changes

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