---
title: "JSON Web Key Set"
method: GET
path: "/oauth2/keys"
tags: ["OAuth"]
---

# JSON Web Key Set

`GET /oauth2/keys`

## Request

- Base URL: `https://api.uptimemonitoring.com`
- URL: `https://api.uptimemonitoring.com/oauth2/keys`
- Auth: none required

Returns the public RSA key used to sign JWT access tokens, in JWKS
format. v1 publishes a single key; rotation is a planned follow-up.

## Response `200`

JWKS document.

- object
  - `keys` object[]
    - `kty` 'RSA'
    - `alg` 'RS256'
    - `use` 'sig'
    - `kid` string
    - `n` string
    - `e` string

## Other responses

- `404`: OAuth AS not configured (OAUTH_SIGNING_KEY_PEM_FILE unset).

---

[API](https://skmtc.dev/uptimemonitoring/apis/uptimemonitoring-com-api.md) · [All operations](https://skmtc.dev/uptimemonitoring/apis/uptimemonitoring-com-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimemonitoring/apis/uptimemonitoring-com-api/revisions/ddcb2a8bc70f?raw)
