Skip to main content

Zeq Auth — Verify Token

Verify a Zeq Auth token. Returns validity, ZID, and display name if valid.

EndpointPOST /api/auth/verify
Authnone
Rate limit60/min
Categoryidentity

Parameters

NameTypeRequiredDescription
tokenstringYesZeq Auth token (base64url JSON).

Returns

{ valid, zid, displayName, expiresAt }

Example

curl -sS -X POST \
-H "Content-Type: application/json" \
-d '{
"token": "<token>"
}' \
"https://zeqsdk.com/api/auth/verify"

This protocol is a named building block — one of the operations you compose inside a state contract. Call it directly with the request above, or invoke it from a contract that fires on your machine's clock. Browse the whole library at GET /api/protocols; fetch this one at GET /api/protocols/zeq-auth-verify.