---
title: "Get a JWKS (JSON Web Key Set) given a client ID"
method: GET
path: "/jwks"
tags: ["keys"]
---

# Get a JWKS (JSON Web Key Set) given a client ID

`GET /jwks`

## Overview
Get a JWKS (JSON Web Key Set) given a client ID

## Query parameters

- `Client ID` string, base64, required

## Response `200`

Success

- object — A JWKS (JSON Web Key Set)
  - `keys` object[] — An array of JWK values
    - `kty` string — Key Type - identifies the cryptographic algorithm family used with the key, such as "RSA" or "EC"
    - `use` string — Public Key Use - identifies the intended use of the public key
    - `alg` string — Algorithm - identifies the algorithm intended for use with the key
    - `kid` string — Key ID - used to match a specific key, for instance, to choose among a set of keys within a JWK Set during key rollover
    - `n` string — Public modulus (present for RSA public keys)
    - `e` string — Public exponent (present for RSA public keys)
    - `crv` string — Curve (present for EC public keys)
    - `x` string — X coordinate (present for EC public keys)
    - `y` string — Y coordinate (present for EC public keys)

## Changes

- **2020-12-16** `e9e433a6fff9` — 5 info
  - added the optional property `keys/items/crv` to the response with the `200` status
  - added the optional property `keys/items/e` to the response with the `200` status
  - added the optional property `keys/items/n` to the response with the `200` status
  - added the optional property `keys/items/x` to the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/nhs/apis/key-locator/changes/jwks/get.md)

---

[API](https://skmtc.dev/nhs/apis/key-locator.md) · [All operations](https://skmtc.dev/nhs/apis/key-locator/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nhs/key-locator/revisions/cf6505aeb0f5/schema)
