Skip to main content

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.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Discord.
2

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.
3

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:
curl "https://api.nango.dev/proxy/users/@me" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

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. Official docs: Discord API docs

🧩 Pre-built syncs & actions for Discord

Enable them in your dashboard. Extend and customize to fit your needs.

Channels

Function nameDescriptionTypeSource code
create-channelCreate a channel in DiscordActionπŸ”— Github
create-reactionAdd a reaction to a Discord message.ActionπŸ”— Github
delete-channelDelete or archive a channel in DiscordActionπŸ”— Github
get-channelRetrieve a single channel from DiscordActionπŸ”— Github
list-channelsList channels from a Discord guild (server)ActionπŸ”— Github
update-channelUpdate a Discord channel.ActionπŸ”— Github

Guild Members

Function nameDescriptionTypeSource code
delete-guild-memberDelete or archive a guild member in DiscordActionπŸ”— Github
get-guild-memberRetrieve a single guild member from DiscordActionπŸ”— Github

Guilds

Function nameDescriptionTypeSource code
add-guild-member-roleAssign a role to a guild member.ActionπŸ”— Github
delete-guildLeave 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-guildRetrieve a single guild from Discord.ActionπŸ”— Github
list-guild-membersList guild members from Discord.ActionπŸ”— Github
list-guildsList guilds from Discord.ActionπŸ”— Github
remove-guild-member-roleRemove a role from a guild memberActionπŸ”— Github
update-guild-memberUpdate a guild member in DiscordActionπŸ”— Github
update-guildUpdate a guild in DiscordActionπŸ”— Github

Messages

Function nameDescriptionTypeSource code
create-messageCreate a message in Discord.ActionπŸ”— Github
delete-messageDelete or archive a message in DiscordActionπŸ”— Github
get-messageRetrieve a single message from Discord.ActionπŸ”— Github
list-messagesList messages from a Discord channel with optional pagination filtersActionπŸ”— Github
update-messageUpdate a message in Discord.ActionπŸ”— Github

Reactions

Function nameDescriptionTypeSource code
delete-reactionRemove a reaction from a Discord message.ActionπŸ”— Github

Roles

Function nameDescriptionTypeSource code
create-roleCreate a role in DiscordActionπŸ”— Github
delete-roleDelete a role in a Discord guildActionπŸ”— Github
get-roleRetrieve a single role from DiscordActionπŸ”— Github
list-rolesList roles from Discord.ActionπŸ”— Github
update-roleUpdate a role in DiscordActionπŸ”— Github

Threads

Function nameDescriptionTypeSource code
create-thread-from-messageStart a Discord thread from an existing messageActionπŸ”— Github

Webhooks

Function nameDescriptionTypeSource code
create-webhookCreate a webhook in a Discord channelActionπŸ”— Github
delete-webhookDelete a webhook in Discord permanentlyActionπŸ”— Github
get-webhookRetrieve a single webhook from Discord.ActionπŸ”— Github
list-webhooksList webhooks from a Discord channelActionπŸ”— Github
update-webhookUpdate a webhook in Discord.ActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
channelsSync channels from DiscordSyncπŸ”— Github
guild-membersSync guild members from DiscordSyncπŸ”— Github
guildsSync guilds from Discord.SyncπŸ”— Github
messagesSync messages from Discord.SyncπŸ”— Github
rolesSync roles from DiscordSyncπŸ”— Github
webhooksSync webhooks from Discord.SyncπŸ”— Github