Sign in

Get token

documented

Obtain an access token using authorization_code/other grants.

POST /oauth2/tokenOAuth2no implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://discord.com/api/v10/oauth2/token" \
  -X POST \
  -u "{{DISCORD_CLIENT_ID}}:{{DISCORD_CLIENT_SECRET}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json" \
  -d "grant_type=authorization_code&code={{$code}}&redirect_uri={{$redirect_uri}}"
Get token · Discord · OpenIntegrations