Skip to main content
GET
/
oauth2
/
@me
cURL
curl --request GET \
  --url https://discord.com/api/v10/oauth2/@me \
  --header 'Authorization: <api-key>'
{
  "application": {
    "id": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "description": "<string>",
    "type": "<unknown>",
    "verify_key": "<string>",
    "flags": 123,
    "cover_image": "<string>",
    "primary_sku_id": "<string>",
    "bot": {
      "id": "<string>",
      "username": "<string>",
      "avatar": "<string>",
      "discriminator": "<string>",
      "public_flags": 123,
      "flags": 0,
      "global_name": "<string>",
      "primary_guild": "<unknown>",
      "bot": true,
      "system": true,
      "banner": "<string>",
      "accent_color": 123,
      "avatar_decoration_data": "<unknown>",
      "collectibles": "<unknown>"
    },
    "slug": "<string>",
    "guild_id": "<string>",
    "rpc_origins": [
      "<string>"
    ],
    "bot_public": true,
    "bot_require_code_grant": true,
    "terms_of_service_url": "<string>",
    "privacy_policy_url": "<string>",
    "custom_install_url": "<string>",
    "install_params": {
      "scopes": [
        "applications.commands"
      ],
      "permissions": "<string>"
    },
    "integration_types_config": {},
    "max_participants": 123,
    "tags": [
      "<string>"
    ]
  },
  "expires": "2023-11-07T05:31:56Z",
  "scopes": [
    "<string>"
  ],
  "user": {
    "id": "<string>",
    "username": "<string>",
    "avatar": "<string>",
    "discriminator": "<string>",
    "public_flags": 123,
    "flags": 0,
    "global_name": "<string>",
    "primary_guild": "<unknown>",
    "bot": true,
    "system": true,
    "banner": "<string>",
    "accent_color": 123,
    "avatar_decoration_data": "<unknown>",
    "collectibles": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Discord bot token

Response

200 response for get_my_oauth2_authorization

application
object
required
expires
string<date-time>
required
scopes
string[]
required

allows /users/@me without email

Allowed value: "identify"
user
object