---
title: "JWT Decode"
method: POST
path: "/jwt/decode"
---

# JWT Decode

`POST /jwt/decode`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/jwt/decode`
- Auth: none required
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/jwt/decode/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to decode a JWT into it's components in JSON

## Request body

- object
  - `RAW_BODY` string: The JWT you want to decode

## Response `200`

200

- object
  - `headers` object
    - `alg` string
    - `typ` string
  - `payload` object
  - `signature` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
