---
title: "Get current OAuth2 user"
method: GET
path: "/oauth2/@me"
tags: ["OAuth2"]
---

# Get current OAuth2 user

`GET /oauth2/@me`

Retrieves current authorization details for a valid OAuth2 bearer token. Includes OAuth2 metadata and user details when identify is present.

## Response `200`

Success

- OAuth2MeResponse
  - `application` object, required — The application associated with the token
    - `id` string, required — The unique identifier of the application
    - `name` string, required — The name of the application
    - `icon` string, nullable, required — The icon hash of the application
    - `description` string, nullable, required — The description of the application
    - `bot_public` boolean, required — Whether the bot can be invited by anyone
    - `bot_require_code_grant` boolean, required — Whether the bot requires OAuth2 code grant
    - `flags` integer, required — The application flags
  - `scopes` string[], required — The list of granted OAuth2 scopes
  - `expires` string, required — The expiration timestamp of the token
  - `user` object — The user associated with the token
    - `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
    - `avatar_color` integer, required
    - `bot` boolean — Whether the user is a bot
    - `system` boolean — Whether the user is a system user
    - `flags` integer, required — The public flags on the user account
    - `email` string, nullable — The email address of the user
    - `verified` boolean, nullable — Whether the user has verified their email

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `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)
