Skip to content
Discord

Documentation: Discord bot invite link

Discord bot invite link generator (discord.com/oauth2/authorize): client_id, bot and applications.commands scopes, permissions integer, guild_id, disable_guild_select, redirect_uri. Everything is computed in your browser, no token required.

Last updated: 10/9/2026

Open the tool

To add a bot to a server, Discord uses an OAuth2 URL containing the application ID (client_id), the requested scopes (bot, applications.commands) and the permissions integer. This tool assembles it correctly and never touches your token.

How to use the tool

  1. Copy the Application ID from the Discord Developer Portal (General Information) and paste it in client_id.

  2. Tick the scopes: bot for a bot, applications.commands for slash commands.

  3. Pick the minimum permissions needed (avoid ADMINISTRATOR).

  4. Copy the generated link and open it in a browser signed in to Discord: choose a server where you have Manage Server, then authorize.

URL parameters

Parameters documented by Discord: client_id, scope (space-separated, encoded %20), permissions (integer), guild_id (preselects the server), disable_guild_select, redirect_uri and response_type (required for scopes beyond bot and applications.commands), integration_type (0 = guild, 1 = user). Permissions only apply with the bot scope. Source: official Discord developer OAuth2 documentation (checked 2026-10-09).

https://discord.com/oauth2/authorize?client_id=123456789012345678&scope=bot%20applications.commands&permissions=3072

Frequently asked questions

Does the link contain my bot token?
No, never. The link only contains the application's public ID. Never share the bot token (Bot tab of the portal).
Why doesn't the bot have the permissions I asked for?
The admin can untick permissions at authorization time, and roles or channel overwrites can remove them afterwards. Check the bot's role and the channel permissions.
Discord
DiscordOpen access
Compose a Discord webhook message with embeds, live preview, JSON and a curl example. Nothing is sent from this site.
WebhookEmbedOpen
Documentation
Discord
DiscordOpen access
Convert a Discord permission integer to checkboxes and back, using the official bit values.
PermissionsBotOpen
Documentation