---
title: "Get UserInfo"
method: GET
path: "/userinfo"
tags: ["OAuth"]
---

# Get UserInfo

`GET /userinfo`

OIDC UserInfo. Returns the authenticated subject (user DID) and granted scopes for the bearer token. Use this to verify a CIBA approval token and identify which user approved the action.

## Response `200`

Default Response

- object
  - `sub` string, required — Subject identifier — user DID or client ID
  - `scope` string, required — Space-separated granted scopes
  - `client_id` string — OAuth client ID (for client_credentials tokens)

## Other responses

- `401` — Default Response

---

[API](https://skmtc.net/bkeyid/apis/bkey-api.md) · [All operations](https://skmtc.net/bkeyid/apis/bkey-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bkeyid/bkey-api/versions/2c7566abec9e/schema)
