Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
π Quickstart
Connect to Discord with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Discord.
Authorize Discord
Go to Connections -> Add Test Connection -> Authorize, then log in to Discord. Later, youβll let your users do the same directly from your app.
Call the Discord API
Letβs make your first request to the Discord API. Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
π Discord Integration Guides
Nango maintained guides for common use cases.- How to register your own Discord OAuth app
Register an OAuth app with Discord and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Discord
Enable them in your dashboard. Extend and customize to fit your needs.Channels
| Function name | Description | Type | Source code |
|---|---|---|---|
create-channel | Create a channel in Discord | Action | π Github |
create-reaction | Add a reaction to a Discord message. | Action | π Github |
delete-channel | Delete or archive a channel in Discord | Action | π Github |
get-channel | Retrieve a single channel from Discord | Action | π Github |
list-channels | List channels from a Discord guild (server) | Action | π Github |
update-channel | Update a Discord channel. | Action | π Github |
Guild Members
| Function name | Description | Type | Source code |
|---|---|---|---|
delete-guild-member | Delete or archive a guild member in Discord | Action | π Github |
get-guild-member | Retrieve a single guild member from Discord | Action | π Github |
Guilds
| Function name | Description | Type | Source code |
|---|---|---|---|
add-guild-member-role | Assign a role to a guild member. | Action | π Github |
delete-guild | Leave a guild in Discord. Note: Discord does not allow bots to delete guilds via the API; use this action to have the bot leave a guild instead. | Action | π Github |
get-guild | Retrieve a single guild from Discord. | Action | π Github |
list-guild-members | List guild members from Discord. | Action | π Github |
list-guilds | List guilds from Discord. | Action | π Github |
remove-guild-member-role | Remove a role from a guild member | Action | π Github |
update-guild-member | Update a guild member in Discord | Action | π Github |
update-guild | Update a guild in Discord | Action | π Github |
Messages
| Function name | Description | Type | Source code |
|---|---|---|---|
create-message | Create a message in Discord. | Action | π Github |
delete-message | Delete or archive a message in Discord | Action | π Github |
get-message | Retrieve a single message from Discord. | Action | π Github |
list-messages | List messages from a Discord channel with optional pagination filters | Action | π Github |
update-message | Update a message in Discord. | Action | π Github |
Reactions
| Function name | Description | Type | Source code |
|---|---|---|---|
delete-reaction | Remove a reaction from a Discord message. | Action | π Github |
Roles
| Function name | Description | Type | Source code |
|---|---|---|---|
create-role | Create a role in Discord | Action | π Github |
delete-role | Delete a role in a Discord guild | Action | π Github |
get-role | Retrieve a single role from Discord | Action | π Github |
list-roles | List roles from Discord. | Action | π Github |
update-role | Update a role in Discord | Action | π Github |
Threads
| Function name | Description | Type | Source code |
|---|---|---|---|
create-thread-from-message | Start a Discord thread from an existing message | Action | π Github |
Webhooks
| Function name | Description | Type | Source code |
|---|---|---|---|
create-webhook | Create a webhook in a Discord channel | Action | π Github |
delete-webhook | Delete a webhook in Discord permanently | Action | π Github |
get-webhook | Retrieve a single webhook from Discord. | Action | π Github |
list-webhooks | List webhooks from a Discord channel | Action | π Github |
update-webhook | Update a webhook in Discord. | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
channels | Sync channels from Discord | Sync | π Github |
guild-members | Sync guild members from Discord | Sync | π Github |
guilds | Sync guilds from Discord. | Sync | π Github |
messages | Sync messages from Discord. | Sync | π Github |
roles | Sync roles from Discord | Sync | π Github |
webhooks | Sync webhooks from Discord. | Sync | π Github |