Discord · Authentication Profile

Discord Authentication

Authentication

Discord secures its APIs with apiKey, http, and oauth2 across 4 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode, clientCredentials, and implicit flow(s).

ChatCommunicationsGamingMessagingSocialVideoVoice
Methods: apiKey, http, oauth2 Schemes: 4 OAuth flows: authorizationCode, clientCredentials, implicit API key in: header

Security Schemes

BotToken http
scheme: bearer
BotToken apiKey
· in: header (Authorization)
OAuth2 oauth2
· flows: implicit, clientCredentials, authorizationCode
OAuth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/discord-interactions-api-openapi.yml, openapi/discord-linked-roles-api-openapi.yml,
  openapi/discord-oauth2-api-openapi.yml, openapi/discord-openapi-original.yml, openapi/discord-rest-api-openapi.yml
summary:
  types:
  - apiKey
  - http
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - authorizationCode
  - clientCredentials
  - implicit
schemes:
- name: BotToken
  type: http
  scheme: bearer
  description: Bot token authentication
  sources:
  - openapi/discord-interactions-api-openapi.yml
  - openapi/discord-linked-roles-api-openapi.yml
  - openapi/discord-oauth2-api-openapi.yml
  - openapi/discord-rest-api-openapi.yml
- name: BotToken
  type: apiKey
  in: header
  parameter: Authorization
  description: Discord bot token
  sources:
  - openapi/discord-openapi-original.yml
- name: OAuth2
  type: oauth2
  flows:
  - flow: implicit
    authorizationUrl: discord.com/oauth2/authorize
    scopes: 31
  - flow: clientCredentials
    tokenUrl: https://discord.com/api/oauth2/token
    scopes: 32
  - flow: authorizationCode
    authorizationUrl: discord.com/oauth2/authorize
    tokenUrl: https://discord.com/api/oauth2/token
    scopes: 32
  sources:
  - openapi/discord-openapi-original.yml
- name: OAuth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://discord.com/oauth2/authorize
    tokenUrl: https://discord.com/api/v10/oauth2/token
    scopes: 8
  sources:
  - openapi/discord-rest-api-openapi.yml

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/discord-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.