---
title: "Get a JWT"
method: GET
path: "/v2/control-planes/{controlPlaneId}/core-entities/jwts/{JWTId}"
tags: ["JWTs"]
---

# Get a JWT

`GET /v2/control-planes/{controlPlaneId}/core-entities/jwts/{JWTId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/jwts/{JWTId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Get a JWT using ID.

## Response `200`

Successfully fetched JWT

- JWT
  - `algorithm` 'ES256' | 'ES256K' | 'ES384' | 'ES512' | 'ESB256' | 'ESB320' | 'ESB384' | 'ESB512' | 'ESP256' | 'ESP384' | 'ESP512' | 'Ed25519' | 'Ed448' | 'EdDSA' | 'HS256' | 'HS384' | 'HS512' | 'PS256' | 'PS384' | 'PS512' | 'RS256' | 'RS384' | 'RS512', nullable
  - `consumer` object, nullable
    - `id` string
  - `created_at` integer, nullable: Unix epoch when the resource was created.
  - `id` string, nullable: A string representing a UUID (universally unique identifier).
  - `key` string, nullable
  - `rsa_public_key` string, nullable
  - `secret` string, nullable
  - `tags` string[], nullable: A set of strings representing tags.

## Other responses

- `401`: Unauthorized
- `404`: Resource does not exist

## Changes

- **2025-08-22** `3c0154b2053a`: 1 info
  - the `algorithm` response's property default value `HS256` was added for the status `200`
- **2025-08-14** `6333a0d3b095`: 1 info
  - the `algorithm` response's property default value `HS256` was removed for the status `200`
- **2025-07-22** `76b0fefddb0d`: 1 breaking, 10 warning, 1 info
  - the response property `tags` became nullable for the status `200`
  - added the new `ES256K` enum value to the `algorithm` response property for the response status `200`
  - added the new `ESB256` enum value to the `algorithm` response property for the response status `200`
  - added the new `ESB320` enum value to the `algorithm` response property for the response status `200`
  - …8 more

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v2/control-planes/:controlPlaneId/core-entities/jwts/:JWTId/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/7aab863a6daa?raw)
