---
title: "Get OAuth2 user information"
method: GET
path: "/oauth2/userinfo"
tags: ["OAuth2"]
---

# Get OAuth2 user information

`GET /oauth2/userinfo`

Retrieves authenticated user information using a valid access token. Requires identify scope and supports email scope for email fields.

## Response `200`

Success

- OAuth2UserInfoResponse
  - `sub` string, required — The subject identifier of the user
  - `id` string, required — The unique identifier of the user
  - `username` string, required — The username of the user
  - `discriminator` string, required — The discriminator of the user
  - `global_name` string, nullable, required — The global display name of the user
  - `avatar` string, nullable, required — The avatar hash of the user
  - `email` string, nullable — The email address of the user
  - `verified` boolean, nullable — Whether the user has verified their email
  - `flags` integer — The public flags on the user account

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluxer/fluxer-api/revisions/d9c706133cc5/schema)
