Discord · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Discord Oauth2 API
8 actions
8 updates
phrasing
extends
openapi/discord-oauth2-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Discord's API. It is a proposal applied on top of the contract, not a document Discord publishes.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/oauth2/@me'].get
$.paths['/oauth2/applications/@me'].get
$.paths['/oauth2/keys'].get
$.paths['/oauth2/userinfo'].get
$.paths['/oauth2/authorize'].get
$.paths['/oauth2/token'].post
$.paths['/oauth2/token/revoke'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Discord Oauth2 API
version: 1.0.0
extends: openapi/discord-oauth2-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/oauth2/@me'].get
update:
x-apievangelist-phrasing:
intent: Get my own OAuth2 authorization
effect: read
questions:
- Which scopes and application did my own Discord OAuth2 token authorize?
- Can I see the authorization I'm currently logged in with?
instructions:
- text: Show my own OAuth2 authorization.
- text: List the scopes my current token covers.
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/applications/@me'].get
update:
x-apievangelist-phrasing:
intent: Get my own OAuth2 application
effect: read
questions:
- What application did my current OAuth2 token come from?
- Can I see the application details for the token I'm using?
instructions:
- text: Show my own OAuth2 application.
- text: Get the application details behind my current token.
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/keys'].get
update:
x-apievangelist-phrasing:
intent: Get OAuth2 public keys
effect: read
questions:
- Where do I get the public keys for verifying OAuth2 tokens?
- Can I fetch the public key set for token signatures?
instructions:
- text: Get the OAuth2 public keys.
- text: Fetch the public key set for token verification.
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/userinfo'].get
update:
x-apievangelist-phrasing:
intent: Get OpenID Connect user info
effect: read
questions:
- How do I get the user's profile from an OpenID Connect token?
- Can I retrieve the user's name and email from an ID token?
instructions:
- text: Get OpenID Connect user info.
- text: Fetch the user's profile from my ID token.
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/authorize'].get
update:
x-apievangelist-phrasing:
intent: Start the OAuth2 authorization flow
effect: write
questions:
- How do I send a user to Discord to log in and grant scopes?
- Can I choose whether the login returns a code or a token?
instructions:
- text: Redirect the user to authorize with scopes {scope} and return a {response_type}.
slots:
scope: query.scope
response_type: query.response_type
- text: Start the OAuth2 flow for client {client_id} with scopes {scope}.
slots:
client_id: query.client_id
scope: query.scope
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/token'].post
update:
x-apievangelist-phrasing:
intent: Exchange an authorization code for a token
effect: write
questions:
- How do I turn an authorization code into an access token?
- Can I refresh a token with a refresh token?
instructions:
- text: Exchange authorization code {code} for an access token.
slots:
code: requestBody.code
- text: Refresh my token using refresh token {refresh_token}.
slots:
refresh_token: requestBody.refresh_token
method: generated
generated: '2026-11-15'
- target: $.paths['/oauth2/token/revoke'].post
update:
x-apievangelist-phrasing:
intent: Revoke an access or refresh token
effect: destructive
questions:
- How do I invalidate an access token?
- Can I revoke a refresh token too?
instructions:
- text: Revoke access token {token}.
slots:
token: requestBody.token
- text: Invalidate refresh token {token}.
slots:
token: requestBody.token
method: generated
generated: '2026-11-15'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay 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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discord-oauth2-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.