/ Docs
APIChallenge

Get Challenge

Issue a proof-of-work challenge for public form submissions. Returns a self-verifying HMAC-signed challenge that expires after ``altcha_challenge_expiry`` seconds.

GET
/v1/public/challenge

Authorization

BearerAuth
AuthorizationBearer <token>

Botyard API key — see /docs/authentication.

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/public/challenge"
{
  "algorithm": "string",
  "challenge": "string",
  "maxNumber": 0,
  "salt": "string",
  "signature": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "error_code": "string",
  "errors": [
    {
      "pointer": "string",
      "detail": "string",
      "type": "string"
    }
  ],
  "trace_id": "string"
}