Skip to content

Instantly share code, notes, and snippets.

@SinisterRectus
Last active January 9, 2023 00:01
Show Gist options
  • Star 45 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save SinisterRectus/9518f3e7d0d1ccb4335b2a0d389c30b0 to your computer and use it in GitHub Desktop.
Save SinisterRectus/9518f3e7d0d1ccb4335b2a0d389c30b0 to your computer and use it in GitHub Desktop.
Discord API Endpoints

Updated: 2023-01-09 00:00:33

Get Achievements GET /applications/{application.id}/achievements Achievements.md
Create Achievement POST /applications/{application.id}/achievements Achievements.md
Delete Achievement DELETE /applications/{application.id}/achievements/{achievement.id} Achievements.md
Get Achievement GET /applications/{application.id}/achievements/{achievement.id} Achievements.md
Update Achievement PATCH /applications/{application.id}/achievements/{achievement.id} Achievements.md
Get Global Application Commands GET /applications/{application.id}/commands Application_Commands.md
Create Global Application Command POST /applications/{application.id}/commands Application_Commands.md
Bulk Overwrite Global Application Commands PUT /applications/{application.id}/commands Application_Commands.md
Delete Global Application Command DELETE /applications/{application.id}/commands/{command.id} Application_Commands.md
Get Global Application Command GET /applications/{application.id}/commands/{command.id} Application_Commands.md
Edit Global Application Command PATCH /applications/{application.id}/commands/{command.id} Application_Commands.md
Get Entitlements GET /applications/{application.id}/entitlements Store.md
Delete Test Entitlement DELETE /applications/{application.id}/entitlements/{entitlement.id} Store.md
Get Entitlement GET /applications/{application.id}/entitlements/{entitlement.id} Store.md
Consume SKU POST /applications/{application.id}/entitlements/{entitlement.id}/consume Store.md
Get Guild Application Commands GET /applications/{application.id}/guilds/{guild.id}/commands Application_Commands.md
Create Guild Application Command POST /applications/{application.id}/guilds/{guild.id}/commands Application_Commands.md
Bulk Overwrite Guild Application Commands PUT /applications/{application.id}/guilds/{guild.id}/commands Application_Commands.md
Get Guild Application Command Permissions GET /applications/{application.id}/guilds/{guild.id}/commands/permissions Application_Commands.md
Batch Edit Application Command Permissions PUT /applications/{application.id}/guilds/{guild.id}/commands/permissions Application_Commands.md
Delete Guild Application Command DELETE /applications/{application.id}/guilds/{guild.id}/commands/{command.id} Application_Commands.md
Get Guild Application Command GET /applications/{application.id}/guilds/{guild.id}/commands/{command.id} Application_Commands.md
Edit Guild Application Command PATCH /applications/{application.id}/guilds/{guild.id}/commands/{command.id} Application_Commands.md
Get Application Command Permissions GET /applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions Application_Commands.md
Edit Application Command Permissions PUT /applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions Application_Commands.md
Get Application Role Connection Metadata Records GET /applications/{application.id}/role-connections/metadata Application_Role_Connection_Metadata.md
Update Application Role Connection Metadata Records PUT /applications/{application.id}/role-connections/metadata Application_Role_Connection_Metadata.md
Get SKUs GET /applications/{application.id}/skus Store.md
Delete/Close Channel DELETE /channels/{channel.id} Channel.md
Get Channel GET /channels/{channel.id} Channel.md
Modify Channel PATCH /channels/{channel.id} Channel.md
Follow Announcement Channel POST /channels/{channel.id}/followers Channel.md
Get Channel Invites GET /channels/{channel.id}/invites Channel.md
Create Channel Invite POST /channels/{channel.id}/invites Channel.md
Get Channel Messages GET /channels/{channel.id}/messages Channel.md
Create Message POST /channels/{channel.id}/messages Channel.md
Bulk Delete Messages POST /channels/{channel.id}/messages/bulk-delete Channel.md
Delete Message DELETE /channels/{channel.id}/messages/{message.id} Channel.md
Get Channel Message GET /channels/{channel.id}/messages/{message.id} Channel.md
Edit Message PATCH /channels/{channel.id}/messages/{message.id} Channel.md
Crosspost Message POST /channels/{channel.id}/messages/{message.id}/crosspost Channel.md
Delete All Reactions DELETE /channels/{channel.id}/messages/{message.id}/reactions Channel.md
Delete All Reactions for Emoji DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji} Channel.md
Get Reactions GET /channels/{channel.id}/messages/{message.id}/reactions/{emoji} Channel.md
Delete Own Reaction DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me Channel.md
Create Reaction PUT /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me Channel.md
Delete User Reaction DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id} Channel.md
Start Thread from Message POST /channels/{channel.id}/messages/{message.id}/threads Channel.md
Delete Channel Permission DELETE /channels/{channel.id}/permissions/{overwrite.id} Channel.md
Edit Channel Permissions PUT /channels/{channel.id}/permissions/{overwrite.id} Channel.md
Get Pinned Messages GET /channels/{channel.id}/pins Channel.md
Unpin Message DELETE /channels/{channel.id}/pins/{message.id} Channel.md
Pin Message PUT /channels/{channel.id}/pins/{message.id} Channel.md
Group DM Remove Recipient DELETE /channels/{channel.id}/recipients/{user.id} Channel.md
Group DM Add Recipient PUT /channels/{channel.id}/recipients/{user.id} Channel.md
List Thread Members GET /channels/{channel.id}/thread-members Channel.md
Leave Thread DELETE /channels/{channel.id}/thread-members/@me Channel.md
Join Thread PUT /channels/{channel.id}/thread-members/@me Channel.md
Remove Thread Member DELETE /channels/{channel.id}/thread-members/{user.id} Channel.md
Get Thread Member GET /channels/{channel.id}/thread-members/{user.id} Channel.md
Add Thread Member PUT /channels/{channel.id}/thread-members/{user.id} Channel.md
Start Thread in Forum Channel POST /channels/{channel.id}/threads Channel.md
Start Thread without Message POST /channels/{channel.id}/threads Channel.md
List Private Archived Threads GET /channels/{channel.id}/threads/archived/private Channel.md
List Public Archived Threads GET /channels/{channel.id}/threads/archived/public Channel.md
Trigger Typing Indicator POST /channels/{channel.id}/typing Channel.md
List Joined Private Archived Threads GET /channels/{channel.id}/users/@me/threads/archived/private Channel.md
Get Channel Webhooks GET /channels/{channel.id}/webhooks Webhook.md
Create Webhook POST /channels/{channel.id}/webhooks Webhook.md
Get Gateway GET /gateway Gateway.md
Get Gateway Bot GET /gateway/bot Gateway.md
Create Guild POST /guilds Guild.md
Get Guild Template GET /guilds/templates/{template.code} Guild_Template.md
Create Guild from Guild Template POST /guilds/templates/{template.code} Guild_Template.md
Delete Guild DELETE /guilds/{guild.id} Guild.md
Get Guild GET /guilds/{guild.id} Guild.md
Modify Guild PATCH /guilds/{guild.id} Guild.md
Get Guild Audit Log GET /guilds/{guild.id}/audit-logs Audit_Log.md
List Auto Moderation Rules for Guild GET /guilds/{guild.id}/auto-moderation/rules Auto_Moderation.md
Create Auto Moderation Rule POST /guilds/{guild.id}/auto-moderation/rules Auto_Moderation.md
Delete Auto Moderation Rule DELETE /guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id} Auto_Moderation.md
Get Auto Moderation Rule GET /guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id} Auto_Moderation.md
Modify Auto Moderation Rule PATCH /guilds/{guild.id}/auto-moderation/rules/{auto_moderation_rule.id} Auto_Moderation.md
Get Guild Bans GET /guilds/{guild.id}/bans Guild.md
Remove Guild Ban DELETE /guilds/{guild.id}/bans/{user.id} Guild.md
Get Guild Ban GET /guilds/{guild.id}/bans/{user.id} Guild.md
Create Guild Ban PUT /guilds/{guild.id}/bans/{user.id} Guild.md
Get Guild Channels GET /guilds/{guild.id}/channels Guild.md
Modify Guild Channel Positions PATCH /guilds/{guild.id}/channels Guild.md
Create Guild Channel POST /guilds/{guild.id}/channels Guild.md
List Guild Emojis GET /guilds/{guild.id}/emojis Emoji.md
Create Guild Emoji POST /guilds/{guild.id}/emojis Emoji.md
Delete Guild Emoji DELETE /guilds/{guild.id}/emojis/{emoji.id} Emoji.md
Get Guild Emoji GET /guilds/{guild.id}/emojis/{emoji.id} Emoji.md
Modify Guild Emoji PATCH /guilds/{guild.id}/emojis/{emoji.id} Emoji.md
Get Guild Integrations GET /guilds/{guild.id}/integrations Guild.md
Delete Guild Integration DELETE /guilds/{guild.id}/integrations/{integration.id} Guild.md
Get Guild Invites GET /guilds/{guild.id}/invites Guild.md
List Guild Members GET /guilds/{guild.id}/members Guild.md
Modify Current Member PATCH /guilds/{guild.id}/members/@me Guild.md
Modify Current User Nick PATCH /guilds/{guild.id}/members/@me/nick Guild.md
Search Guild Members GET /guilds/{guild.id}/members/search Guild.md
Remove Guild Member DELETE /guilds/{guild.id}/members/{user.id} Guild.md
Get Guild Member GET /guilds/{guild.id}/members/{user.id} Guild.md
Modify Guild Member PATCH /guilds/{guild.id}/members/{user.id} Guild.md
Add Guild Member PUT /guilds/{guild.id}/members/{user.id} Guild.md
Remove Guild Member Role DELETE /guilds/{guild.id}/members/{user.id}/roles/{role.id} Guild.md
Add Guild Member Role PUT /guilds/{guild.id}/members/{user.id}/roles/{role.id} Guild.md
Modify Guild MFA Level POST /guilds/{guild.id}/mfa Guild.md
Get Guild Preview GET /guilds/{guild.id}/preview Guild.md
Get Guild Prune Count GET /guilds/{guild.id}/prune Guild.md
Begin Guild Prune POST /guilds/{guild.id}/prune Guild.md
Get Guild Voice Regions GET /guilds/{guild.id}/regions Guild.md
Get Guild Roles GET /guilds/{guild.id}/roles Guild.md
Modify Guild Role Positions PATCH /guilds/{guild.id}/roles Guild.md
Create Guild Role POST /guilds/{guild.id}/roles Guild.md
Delete Guild Role DELETE /guilds/{guild.id}/roles/{role.id} Guild.md
Modify Guild Role PATCH /guilds/{guild.id}/roles/{role.id} Guild.md
List Scheduled Events for Guild GET /guilds/{guild.id}/scheduled-events Guild_Scheduled_Event.md
Create Guild Scheduled Event POST /guilds/{guild.id}/scheduled-events Guild_Scheduled_Event.md
Delete Guild Scheduled Event DELETE /guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id} Guild_Scheduled_Event.md
Get Guild Scheduled Event GET /guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id} Guild_Scheduled_Event.md
Modify Guild Scheduled Event PATCH /guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id} Guild_Scheduled_Event.md
Get Guild Scheduled Event Users GET /guilds/{guild.id}/scheduled-events/{guild_scheduled_event.id}/users Guild_Scheduled_Event.md
List Guild Stickers GET /guilds/{guild.id}/stickers Sticker.md
Create Guild Sticker POST /guilds/{guild.id}/stickers Sticker.md
Delete Guild Sticker DELETE /guilds/{guild.id}/stickers/{sticker.id} Sticker.md
Get Guild Sticker GET /guilds/{guild.id}/stickers/{sticker.id} Sticker.md
Modify Guild Sticker PATCH /guilds/{guild.id}/stickers/{sticker.id} Sticker.md
Get Guild Templates GET /guilds/{guild.id}/templates Guild_Template.md
Create Guild Template POST /guilds/{guild.id}/templates Guild_Template.md
Delete Guild Template DELETE /guilds/{guild.id}/templates/{template.code} Guild_Template.md
Modify Guild Template PATCH /guilds/{guild.id}/templates/{template.code} Guild_Template.md
Sync Guild Template PUT /guilds/{guild.id}/templates/{template.code} Guild_Template.md
List Active Guild Threads GET /guilds/{guild.id}/threads/active Guild.md
Get Guild Vanity URL GET /guilds/{guild.id}/vanity-url Guild.md
Modify Current User Voice State PATCH /guilds/{guild.id}/voice-states/@me Guild.md
Modify User Voice State PATCH /guilds/{guild.id}/voice-states/{user.id} Guild.md
Get Guild Webhooks GET /guilds/{guild.id}/webhooks Webhook.md
Get Guild Welcome Screen GET /guilds/{guild.id}/welcome-screen Guild.md
Modify Guild Welcome Screen PATCH /guilds/{guild.id}/welcome-screen Guild.md
Get Guild Widget Settings GET /guilds/{guild.id}/widget Guild.md
Modify Guild Widget PATCH /guilds/{guild.id}/widget Guild.md
Get Guild Widget GET /guilds/{guild.id}/widget.json Guild.md
Get Guild Widget Image GET /guilds/{guild.id}/widget.png Guild.md
Create Interaction Response POST /interactions/{interaction.id}/{interaction.token}/callback Receiving_and_Responding.md
Delete Invite DELETE /invites/{invite.code} Invite.md
Get Invite GET /invites/{invite.code} Invite.md
Create Lobby POST /lobbies Lobbies.md
Create Lobby Search POST /lobbies/search Lobbies.md
Delete Lobby DELETE /lobbies/{lobby.id} Lobbies.md
Update Lobby PATCH /lobbies/{lobby.id} Lobbies.md
Update Lobby Member PATCH /lobbies/{lobby.id}/members/{user.id} Lobbies.md
Send Lobby Data POST /lobbies/{lobby.id}/send Lobbies.md
Get Current Authorization Information GET /oauth2/@me OAuth2.md
Get Current Bot Application Information GET /oauth2/applications/@me OAuth2.md
Create Stage Instance POST /stage-instances Stage_Instance.md
Delete Stage Instance DELETE /stage-instances/{channel.id} Stage_Instance.md
Get Stage Instance GET /stage-instances/{channel.id} Stage_Instance.md
Modify Stage Instance PATCH /stage-instances/{channel.id} Stage_Instance.md
List Nitro Sticker Packs GET /sticker-packs Sticker.md
Get Sticker GET /stickers/{sticker.id} Sticker.md
Delete Purchase Discount DELETE /store/skus/{sku.id}/discounts/{user.id} Store.md
Create Purchase Discount PUT /store/skus/{sku.id}/discounts/{user.id} Store.md
Get Current User GET /users/@me User.md
Modify Current User PATCH /users/@me User.md
Get User Achievements GET /users/@me/applications/{application.id}/achievements Achievements.md
Get User Application Role Connection GET /users/@me/applications/{application.id}/role-connection User.md
Update User Application Role Connection PUT /users/@me/applications/{application.id}/role-connection User.md
Create Group DM POST /users/@me/channels User.md
Create DM POST /users/@me/channels User.md
Get User Connections GET /users/@me/connections User.md
Get Current User Guilds GET /users/@me/guilds User.md
Leave Guild DELETE /users/@me/guilds/{guild.id} User.md
Get Current User Guild Member GET /users/@me/guilds/{guild.id}/member User.md
Get User GET /users/{user.id} User.md
Update User Achievement PUT /users/{user.id}/applications/{application.id}/achievements/{achievement.id} Achievements.md
List Voice Regions GET /voice/regions Voice.md
Create Followup Message POST /webhooks/{application.id}/{interaction.token} Receiving_and_Responding.md
Delete Original Interaction Response DELETE /webhooks/{application.id}/{interaction.token}/messages/@original Receiving_and_Responding.md
Get Original Interaction Response GET /webhooks/{application.id}/{interaction.token}/messages/@original Receiving_and_Responding.md
Edit Original Interaction Response PATCH /webhooks/{application.id}/{interaction.token}/messages/@original Receiving_and_Responding.md
Delete Followup Message DELETE /webhooks/{application.id}/{interaction.token}/messages/{message.id} Receiving_and_Responding.md
Get Followup Message GET /webhooks/{application.id}/{interaction.token}/messages/{message.id} Receiving_and_Responding.md
Edit Followup Message PATCH /webhooks/{application.id}/{interaction.token}/messages/{message.id} Receiving_and_Responding.md
Delete Webhook DELETE /webhooks/{webhook.id} Webhook.md
Get Webhook GET /webhooks/{webhook.id} Webhook.md
Modify Webhook PATCH /webhooks/{webhook.id} Webhook.md
Delete Webhook with Token DELETE /webhooks/{webhook.id}/{webhook.token} Webhook.md
Get Webhook with Token GET /webhooks/{webhook.id}/{webhook.token} Webhook.md
Modify Webhook with Token PATCH /webhooks/{webhook.id}/{webhook.token} Webhook.md
Execute Webhook POST /webhooks/{webhook.id}/{webhook.token} Webhook.md
Execute GitHub-Compatible Webhook POST /webhooks/{webhook.id}/{webhook.token}/github Webhook.md
Delete Webhook Message DELETE /webhooks/{webhook.id}/{webhook.token}/messages/{message.id} Webhook.md
Get Webhook Message GET /webhooks/{webhook.id}/{webhook.token}/messages/{message.id} Webhook.md
Edit Webhook Message PATCH /webhooks/{webhook.id}/{webhook.token}/messages/{message.id} Webhook.md
Execute Slack-Compatible Webhook POST /webhooks/{webhook.id}/{webhook.token}/slack Webhook.md
@devsnek
Copy link

devsnek commented May 30, 2016

this is too useful. +banne

@davidcole1340
Copy link

senpai

@iopred
Copy link

iopred commented May 30, 2016

{@me} is misleading, instead consider: /users/@me/channels etc. etc.

@SinisterRectus
Copy link
Author

{@me} is misleading, instead consider: /users/@me/channels etc. etc.

Fixed.

@mnlkrs
Copy link

mnlkrs commented May 30, 2016

Notes

PUT /users/@me/notes/${ID} {note: “value”}

@SinisterRectus
Copy link
Author

Notes

This is generated from the official docs. If it's not in the docs, it's not in the list.

@Adryd
Copy link

Adryd commented Feb 2, 2017

do you want a list of all of them used in the client, some of them in the client are not listed here

@broman
Copy link

broman commented Jan 27, 2019

just saw this, really useful! thanks sinister!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment