---
title: "OpenID Connect UserInfo Endpoint (POST)"
method: POST
path: "/oauth2/userinfo"
tags: ["user"]
---

# OpenID Connect UserInfo Endpoint (POST)

`POST /oauth2/userinfo`

Returns claims about the authenticated user based on the access token scopes.

## Response `200`

UserInfo claims

- OAuth2UserinfoResponse
  - `sub` string, required
  - `name` string
  - `email` string
  - `email_verified` boolean
  - `picture` string
  - `locale` string
  - `phone_number` string
  - `phone_number_verified` boolean

## Other responses

- `default` — OAuth2 error response

---

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