dev

Decode a JWT without verifying its signature.

Decode a JWT without verifying its signature. POST { token }. Returns the decoded header and payload, plus issuedAt/expiresAt/notBefore as ISO timestamps, and expired / notYetValid flags. Signature is NOT checked — decode/inspection only. For agents reading token claims (scopes, sub, exp) before acting.

post/api/dev/jwt-decode

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/dev/jwt-decode
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Request body

tokenstring required

Token.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.