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
| Result | Meaning | Response |
|---|---|---|
| Invalid | Malformed, expired, or already used. | Fall back to a fresh score or a step-up. |
| Valid, mid-band | The token verifies, but the original reading was ambiguous. | Keep the graded policy; do not upgrade it to a pass. |
| Missing | No token was issued. | Score the request or apply the default policy. |
Related
- Trust tokens — the concept
- Score a session — where the token is issued
- Operations — fallbacks
- Portal · Scoring — token status in the session