Skip to content

Reading the answer

/siteverify answers 200 for a refusal as well as for a grant — “no” is an answer to “may I trust this token”, not a failed request — so branch on success rather than on the status.

{ "success": true }

Goust decides when the widget answers and seals the decision into the token, where the browser cannot read it: by its own policy, by the first of your policies that matches the visitor, or, when no policy does, by the risk score against your site’s sensitivity. Policies has the order. A grant means the token is genuine, unspent, and Goust granted its visitor. Accept the submission.

{ "success": false, "errors": ["invalid_secret"] }

Reject the submission. errors names what was wrong with the request:

Error Meaning
missing_secret The request had no secret.
invalid_secret The secret is not one of yours, or does not own the sitekey you sent.
missing_response The request had no response.
invalid_response The token is not one Goust issued, or was issued for another site.
expired_response The token has expired.
spent_response The token was already used, or Goust could not confirm it was unspent.
invalid_request The body is not a JSON object, the sitekey is malformed, or account is not a string of 1 to 128 characters.

When the request was sound but Goust denied the visitor, errors is empty — the request was fine, the visitor was not. Either the visitor scored as high-risk, or a policy blocked it, yours or one of Goust’s:

{ "success": false, "errors": [] }

When a policy decided the answer rather than the score, the answer names it in policy, on every plan, on a grant and on a refusal alike: by its id and its name as it was when it decided:

{ "success": false, "errors": [], "policy": { "id": "0192f0c4-5b3a-7c1e-9d2f-3a4b5c6d7e8f", "name": "Block scrapers" } }

When the score decided, or Goust’s own policy did, there is no policy: a platform policy is never named. Either way success is the verdict: policy is there to log, and to tell your policy’s decision from everything else.

On the Enterprise plan, every answer to a sound request also carries the score the visitor earned, from 0 to 1, and the checks that raised it — on a grant and on a refusal alike, whether the score or a policy decided it:

{ "success": false, "errors": [], "score": 0.99, "reasons": ["automation_flag", "headless_token"] }

success is still the verdict, and a policy may have decided it against the score; the score is there to log, or to apply a stricter bar of your own. Keep the reasons on your server: they describe how the check works.

The score is a probability-like figure, not a fraction of a checklist. One decisive reading (automation_flag, headless_token) takes it above 0.95 on its own; two strong inconsistencies reach about 0.89, one strong with two contextual ones about 0.76, and contextual readings alone reach at most 0.21, however many fire. The Balanced sensitivity’s bar of 0.6 therefore refuses any decisive reading, two strong ones, or one strong one with two contextual. A stricter bar of 0.4 also refuses one strong reading with one contextual. A bar under 0.21 refuses real visitors on contextual readings alone, so keep yours at 0.25 or above. If you wrote policies or bars on score before November 2026, tune them again: the scale changed then.

History raises reasons of its own: device_flagged_before, network_flagged_before and stack_flagged_before when the visitor’s identity, network or client software has been caught before, and device_velocity_high, device_many_networks, cohort_burst and datacenter_asn for volume and where it comes from. Policies says when each is raised.

When Goust recognised the visitor, the answer says how, in identity: the tier of its strongest identity — session, cluster, token or key — and how sure that tier is that two visits came from one visitor, from 0 to 1:

{ "success": true, "score": 0, "reasons": [], "identity": { "tier": "cluster", "confidence": 0.6 } }

There is no identity for a visitor Goust did not recognise. That is ordinary — a privacy browser, a first visit — and is not a reason to treat the visitor differently. Identity and reputation describes the tiers.

When your request named an account, the answer carries what your site’s earlier verifications have said of it:

{ "success": true, "score": 0.12, "reasons": ["short_dwell"], "account": { "reputation": 0.08 } }

reputation is the account’s share of bad evidence, from 0 for a clean past to 1 for one caught often, and null for an account with no history yet. It is the figure as it stood before this verification, which then counts towards it. It is yours to act on: success does not depend on it.

Once a verification succeeds, the token is spent, and verifying it again refuses. That is what stops a captured token being replayed, and it means your handler should verify once, promptly, and act on the result — not verify again on retry.