Skip to main content
POST
Verify a Dojo completion receipt against the published JWKS.

Body

application/json
receipt
string
required

The receipt JWS Compact serialization to verify.

Response

The structured verification verdict (valid:true/false).

valid
boolean
required
key_id
string | null
required
payload
object | null
required

The receipt's decoded payload. On valid:true this is a full DojoCompletionReceipt/v1 payload (the shape of receiptResponseSchema.payload). On valid:false it is the BEST-EFFORT decoded payload — untrusted and possibly partial or arbitrary (whatever the presented, unverified JWS decoded to) — echoed for diagnostics, so it is intentionally NOT constrained to the strict receipt shape (a tampered/bogus receipt must still surface as a 200 valid:false, never a 500). null when the JWS could not be parsed at all.

errors
string[]
required