---
title: "Get OAuth key"
method: GET
path: "/v1/oauth-keys/{oauthKeyId}"
tags: ["OAuth Keys"]
---

# Get OAuth key

`GET /v1/oauth-keys/{oauthKeyId}`

Returns a single OAuth key (like MCP clients) by id.

## Path parameters

- `oauthKeyId` string, required — OAuth key identifier.

## Response `200`

OAuth key

- OAuthKey
  - `id` string, required — Stable OAuth key identifier.
  - `clientId` string, required — Identifier of the OAuth client the key was issued to.
  - `clientName` string, nullable, required — Display name of the OAuth client.
  - `clientIcon` string, nullable, required — Icon URL of the OAuth client.
  - `userId` string, required — Identifier of the user the key belongs to.
  - `userName` string, nullable, required — Display name of the user. `null` until the user completes onboarding.
  - `userEmail` string, required — Email of the user.
  - `lastActivityAt` string, nullable, required — ISO-8601 timestamp of the last refresh on the key. `null` if the key has never been used.
  - `connectedAt` string, required — ISO-8601 timestamp at which the key was connected.
  - `disabled` boolean, required — Whether the key has been disabled.

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `404` — Not found

---

[API](https://skmtc.net/latitude-dev/apis/latitude.md) · [All operations](https://skmtc.net/latitude-dev/apis/latitude/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude-dev/latitude/revisions/a0bf72a85607/schema)
