---
title: "Get a JWT associated with a Consumer"
method: GET
path: "/{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt/{JWTId}"
tags: ["JWTs"]
---

# Get a JWT associated with a Consumer

`GET /{workspace}/consumers/{ConsumerIdForNestedEntities}/jwt/{JWTId}`

Get a JWT associated with a Consumer using ID.

## Path parameters

- `ConsumerIdForNestedEntities` string, required
- `JWTId` string, required
- `workspace` string, required

## 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

- `404` — Resource does not exist

---

[API](https://skmtc.net/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.net/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/28b1f8a59cdc/schema)
