Documentation / API · Trust token

POST /api/trace/verify-token

A trust token carries a scoring result forward. Verify it server-side, once, and treat a valid result as the same graded estimate.

Last updated

Request

VerifySecret key auth
curl --request POST "https://app.volance.com/api/trace/verify-token" \
  --header "Authorization: Bearer $VOLANCE_SECRET_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"trustToken":"tr_..."}'
ResponseValid and single use
{
  "valid": true,
  "score": 43.0,
  "verdict": "suspicious_agent"
}

Rules

  • Single use. Do not cache a valid result as a permanent pass.
  • Server-side only. The call uses the secret key.
  • Short-lived. An expired token is treated as absent.
  • Still an estimate. A valid token records that a score existed; it does not prove a person was present.

Failure modes

How to read a failed verification.
ResultMeaningResponse
InvalidMalformed, expired, or already used.Fall back to a fresh score or a step-up.
Valid, mid-bandThe token verifies, but the original reading was ambiguous.Keep the graded policy; do not upgrade it to a pass.
MissingNo token was issued.Score the request or apply the default policy.

Related

Free to start. 10,000 scores a month, one project, no credit card.

Get started free