---
title: "Get OpenID Connect user claims"
method: POST
path: "/api/oauth/userinfo"
tags: ["OAuth 2.0 / OpenID Connect"]
---

# Get OpenID Connect user claims

`POST /api/oauth/userinfo`

POST variant of the OpenID Connect UserInfo endpoint.

## Response `200`

Claims authorized by the access token.

- OAuthUserinfo
  - `sub` string, required
  - `name` string
  - `given_name` string
  - `family_name` string
  - `picture` string, uri
  - `email` string, email
  - `email_verified` boolean

## Other responses

- `400` — Validation error or precondition failure.
- `401` — Missing or invalid credential.
- `403` — Credential lacks the required scope (Agent Key) or insufficient OAuth scope.
- `404` — Resource does not exist or is invisible to the caller. The two are intentionally indistinguishable.
- `409` — Conflicting state (e.g. legal-entity name already taken).
- `429` — Rate limit exceeded. No `Retry-After` header is currently emitted; back off exponentially.
- `500` — Server error.

---

[API](https://skmtc.dev/eprospera/apis/e-pro-spera-api.md) · [All operations](https://skmtc.dev/eprospera/apis/e-pro-spera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eprospera/e-pro-spera-api/revisions/9ecdd3ca5a8c/schema)
