JWT
The /jwt endpoint decodes a JSON Web Token without verifying the signature. Expiration is detected via the exp claim.
posthttps://api.moxon.dev /v6/jwt
Try itpost/v6/jwt
curl -X POST \ "https://api.moxon.dev/v6/jwt" \ -H "Content-Type: application/json" \ -d '{}'Send the request to see the response here.
The request body must be JSON:
tokenstringrequiredJWT token to decode
headerobjectDecoded JWT header (algorithm, type, etc.)
payloadobjectDecoded JWT payload (claims)
signaturestringRaw signature string (not verified)
expiredbooleantrueifexpis in the past — absent if noexpclaim
If parameters are missing or invalid, the API will return an error:
- 400
Please provide a token (?token={token})Thetokenparameter is missing - 400
Token cannot exceed 8192 charactersThe token exceeds the maximum length - 400
Invalid JWT format. Expected 3 parts separated by "."The token does not have 3 dot-separated parts - 400
Invalid JWT header: not a valid base64url-encoded JSON objectThe header part is not valid base64url JSON, or decodes to something other than an object (e.g. an array or string) - 400
Invalid JWT payload: not a valid base64url-encoded JSON objectThe payload part is not valid base64url JSON, or decodes to something other than an object
Last updated on September 12, 2026