Skip to main content
GET
/
v1
/
trust-badge
/
verify
curl "https://api.vouchmark.com/v1/trust-badge/verify?token=eyJhbGciOiJIUzI1NiIs..."
{
  "success": true,
  "data": {
    "valid": true,
    "vendorId": "cmp_...",
    "customerId": "usr_...",
    "score": 90,
    "status": "active",
    "issuedAt": "2026-05-12T00:00:00Z",
    "expiresAt": "2026-08-10T00:00:00Z"
  }
}
Verifies a badge token. No authentication required — anyone can call it. The endpoint validates the JWT signature, confirms the badge is still active, and checks it hasn’t been superseded or expired. Always returns 200 OK. Inspect data.valid to tell whether the badge is genuine.

Query parameters

token
string
required
The badge JWT token.
curl "https://api.vouchmark.com/v1/trust-badge/verify?token=eyJhbGciOiJIUzI1NiIs..."
{
  "success": true,
  "data": {
    "valid": true,
    "vendorId": "cmp_...",
    "customerId": "usr_...",
    "score": 90,
    "status": "active",
    "issuedAt": "2026-05-12T00:00:00Z",
    "expiresAt": "2026-08-10T00:00:00Z"
  }
}
When the badge cannot be verified, valid is false with a reason, and most other fields are omitted:
{
  "success": true,
  "data": {
    "valid": false,
    "vendorId": "cmp_...",
    "status": "revoked",
    "reason": "Badge has been revoked."
  }
}

Response fields

success
boolean
data
object