All connectors
Discord integration
An instant messaging and VoIP social platform.
Connect Discord to Xenition and work with it from chat, from an agent, or on a schedule — alongside every other app you have connected, in one workspace.
What you can do with Discord
Ask in plain language and Xenition calls the right one:
- Consume Entitlement (Deprecated) — DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.
- Delete Test Entitlement (Deprecated) — DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.
- Delete User Application Role Connection — Deletes the current user's application role connection for the specified application. Removes the platform metadata and linked role connection.
- Edit Application Command Permissions — Edits the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.
- Get Application Command Permissions — Retrieves the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.
- Get Batch Application Command Permissions — Retrieves permissions for all commands of an application in a guild. Returns a list of permission objects for each command. Requires OAuth2 Bearer token (Bot tokens will error).
- Get Current User Application Entitlements — Retrieves entitlements for the current user and application. The optional guild_id filter is enforced locally because Discord does not expose that filter on this current-user route.
- Get Gateway — Tool to retrieve a valid WebSocket (wss) URL for establishing a Gateway connection to Discord. Use when you need to connect to the Discord Gateway for real-time events.
- Get Guild Template — Tool to retrieve information about a Discord guild template using its unique template code. Use when you need to get details about a guild template for creating new servers.
- Get Guild Widget — Tool to retrieve the guild widget in JSON format. Use when you need to get public information about a Discord guild's widget that can be displayed on external websites. The widget must be enabled in the guild's server settings.
- Get Guild Widget PNG — Tool to retrieve a PNG image widget for a Discord guild. Use when you need a visual representation of the guild widget that can be displayed on external websites. The widget must be enabled in the guild's server settings.
- Get Invite (Deprecated) — DEPRECATED: Use DISCORD_INVITE_RESOLVE instead. Tool to retrieve information about a specific invite code. Use when you need to get details about a guild or channel associated with an invite. Response may be null or partial for expired, revoked, or inaccessible invites; do not infer guild membership or channel access from the response.
- Get my guild member — Retrieves the guild member object for the currently authenticated user within a specified guild, including roles, nickname, join date, and permissions.
- Get my OAuth2 authorization — Retrieves current OAuth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').
- Get My User — Fetches comprehensive profile information for the currently authenticated Discord user, including email if the 'email' scope is granted.
- Get OpenID Connect userinfo — Retrieve OpenID Connect compliant user information for the authenticated user. Returns standardized OIDC user claims (sub, email, nickname, picture, locale, etc.) following the OpenID Connect specification. Requires OAuth2 access token with 'openid' scope; additional fields require 'identify' and 'email' scopes.
- Get Public Keys — Tool to retrieve Discord OAuth2 public keys. Use when you need to verify OAuth2 tokens or access public keys for cryptographic operations.
- Get SKU Subscription — Retrieves a specific subscription by ID for a given SKU. Use to check details of a single user subscription.
- Get User — Retrieve information about a Discord user. With OAuth Bearer token authentication, this returns the authenticated user's information (use '@me'). With Bot token authentication, you can query any user by their ID. Use this when you need user details like username, avatar, email (if email scope is granted), locale, premium status, or other profile information.
- Get User Application Role Connection — Retrieves the application role connection for the currently authenticated user for a specified application. Requires the role_connections.write OAuth2 scope.
- Resolve Invite — Tool to resolve and retrieve information about a Discord invite code. Use when you need to get details about a guild, channel, or event associated with an invite code.
- Leave Guild (Deprecated) — DEPRECATED: This endpoint requires a bot token. Use DISCORDBOT_LEAVE_GUILD with a Discord Bot connection instead.
- List My Connections — Retrieves a list of the authenticated user's connected third-party accounts on Discord.
- List My Guilds — Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.
- List SKU Subscriptions — Lists all subscriptions for a given SKU. When using a Bot token, the user_id query parameter is required. Returns paginated subscription objects.
- List Sticker Packs — Tool to retrieve all available Discord Nitro sticker packs. Use when you need to list or browse official Discord sticker packs.
- Modify Current User (Deprecated) — DEPRECATED: This endpoint requires a bot token. Use DISCORDBOT_UPDATE_MY_USER with a Discord Bot connection instead.
- Update User Application Role Connection — Updates the application role connection for the currently authenticated user for a specified application. Requires the role_connections.write OAuth2 scope.
Give an agent access to Discord
An agent you create can use Discord on your behalf and keep working while you do something else. Every action an agent takes goes through an approval gate first, so nothing touches your Discord account without you agreeing to it.
Other connectors
Frequently asked questions
How do I connect Discord to Xenition?
Open the connectors directory in Xenition, find Discord, and sign in when the authorisation window opens. The connection is managed for you — there is no API key to create, paste or rotate.
What can Xenition do with Discord?
Xenition can run 28 different Discord actions, including Consume Entitlement (Deprecated), Delete Test Entitlement (Deprecated), Delete User Application Role Connection. You ask in plain language and the right one is called for you.
Can an agent use Discord on my behalf?
Yes. Agents can use Discord while you do something else, and every action passes through an approval gate before it runs.
Is there a free plan?
Yes. Xenition starts free with 25,000 credits a month and no credit card, and all connectors are available on every plan.