Logo
Discord Logo

Discord APIs

Step up your game with a modern voice & text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more.

Discord APIs

Account Request URL

-

Base Endpoint

https://discord.com/api.

Channel

Retrieves a channel by its ID.

channels/{channel.id}

channel.id

Channel

Modifies the fields of a channel.

channels/{channel.id}

channel.id, name, topic

Channel

Deletes a channel.

channels/{channel.id}

channel.id

Channel

Retrieves a list of channel messages.

channels/{channel.id}/messages

channel.id, around, before, after, limit

Channel

Creates a message in a channel.

channels/{channel.id}/messages

channel.id, content, tts, file, embed, allowed_mentions

Channel

Creates a reaction to a message.

channels/{channel.id}/messages/{message.id}/reactions/{emoji}

channel.id, emoji

Channel

Deletes a reaction to a message.

channels/{channel.id}/messages/{message.id}/reactions/{emoji}

channel.id, message.id, emoji

Channel

Bulk deletes messages in a channel.

channels/{channel.id}/messages/bulk-delete

channel.id, messages

Channel

Edits a message.

channels/{channel.id}/messages/{message.id}

channel.id, message.id, content, tts, embed, file, allowed_mentions

Channel

Retrieves a message in a channel.

channels/{channel.id}/messages/{message.id}

channel.id, message.id

Channel

Crossposts a message in a channel.

channels/{channel.id}/messages/{message.id}/crosspost

channel.id, message.id

Channel

Retrieves a list of invites in a channel.

channels/{channel.id}/invites

channel.id

Invite

Creates a new invite.

channels/{channel.id}/invites

channel.id, max_age, max_uses, temporary, unique, reason

Invite

Deletes an invite.

channels/{channel.id}/invites/{invite.code}

channel.id, invite.code

Member

Modifies the member object.

guilds/{guild.id}/members/{user.id}

guild.id, user.id, roles, nick, mute, deaf, channel_id

Member

Removes a member from a guild.

guilds/{guild.id}/members/{user.id}

guild.id, user.id

Member

Returns a list of guild members.

guilds/{guild.id}/members

guild.id, limit, after

Member

Returns a single guild member by ID.

guilds/{guild.id}/members/{user.id}

guild.id, user.id

Member

Modifies the current user's server deaf and mute settings.

guilds/{guild.id}/members/@me

guild.id, deaf, mute

Member

Returns the current user's guild data.

guilds/{guild.id}/member

guild.id

Member

Gets a list of users who reacted with this emoji on a message.

channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me

channel.id, message.id, emoji

Guild

Creates a guild.

guilds

name, icon, region, verification_level, default_message_notifications, explicit_content_filter, afk_channel_id, afk_timeout, system_channel_id, system_channel_flags

Guild

Retrieves a guild by its ID.

guilds/{guild.id}

guild.id

Guild

Modifies the guild object.

guilds/{guild.id}

guild.id, name, region, verification_level, default_message_notifications, explicit_content_filter, afk_channel_id, afk_timeout, system_channel_id, system_channel_flags, icon

Guild

Returns a list of channels in a guild.

guilds/{guild.id}/channels

guild.id

Guild

Creates a new channel in a guild.

guilds/{guild.id}/channels

guild.id, name, type, topic, bitrate, user_limit, rate_limit_per_user, position, permission_overwrites

Guild

Deletes a guild.

guilds/{guild.id}

guild.id

Guild

Returns a list of guild bans.

guilds/{guild.id}/bans

guild.id, before, limit

Guild

Bans a user from a guild.

guilds/{guild.id}/bans/{user.id}

guild.id, user.id, reason, delete_message_days

Guild

Unbans a user from a guild.

guilds/{guild.id}/bans/{user.id}

guild.id, user.id

Guild

Returns a list of roles in a guild.

guilds/{guild.id}/roles

guild.id

Guild

Creates a role in a guild.

guilds/{guild.id}/roles

guild.id, name, permissions, color, hoist, mentionable

Guild

Deletes a role from a guild.

guilds/{guild.id}/roles/{role.id}

guild.id, role.id

Guild

Modifies the roles in a guild.

guilds/{guild.id}/roles

guild.id, role.id, name, permissions, color, hoist, mentionable

Guild

Modifies an existing guild widget.

guilds/{guild.id}/widget

guild.id, enabled, channel_id

Guild

Creates a new guild widget.

guilds/{guild.id}/widget

guild.id, enabled, channel_id

Guild

Deletes a guild widget.

guilds/{guild.id}/widget

guild.id

Guild

Retrieves a list of guild invites.

guilds/{guild.id}/invites

guild.id

Guild

Retrieves a list of guild prune counts.

guilds/{guild.id}/prune

guild.id, days

Guild

Begins a prune operation.

guilds/{guild.id}/prune

guild.id, days, compute_prune_count

Guild

Returns a list of voice regions available to the guild.

guilds/{guild.id}/regions

guild.id

Guild

Updates the voice state of a guild member.

guilds/{guild.id}/members/@me/voice-state

guild.id, channel_id, suppress

Guild

Continues a prune operation.

guilds/{guild.id}/prune

guild.id, compute_prune_count

Guild

Gets the vanity URL for a guild.

guilds/{guild.id}/vanity-url

guild.id

Guild

Updates a guild vanity URL.

guilds/{guild.id}/vanity-url

guild.id, code

Guild

Deletes a guild vanity URL.

guilds/{guild.id}/vanity-url

guild.id

Guild

Returns the welcome screen of a guild.

guilds/{guild.id}/welcome-screen

guild.id

Guild

Modifies the welcome screen of a guild.

guilds/{guild.id}/welcome-screen

guild.id, enabled, description, welcome_channels

Guild

Returns the embed object for this webhook.

webhooks/{webhook.id}

webhook.id

Guild

Creates a webhook for a guild.

guilds/{guild.id}/webhooks

guild.id, name, avatar, channel_id

Guild

Returns a list of webhooks in a guild.

guilds/{guild.id}/webhooks

guild.id

Guild

Returns the embed object for this webhook.

webhooks/{webhook.id}

webhook.id

Guild

Deletes a webhook.

webhooks/{webhook.id}

webhook.id

Guild

Modifies the fields of a webhook.

webhooks/{webhook.id}

webhook.id, name, avatar, channel_id

Guild

Returns a list of active threads in a guild.

guilds/{guild.id}/threads/active

guild.id

Webhook

Executes a webhook.

webhooks/{webhook.id}

webhook.id, content, username, avatar_url, tts, file, embeds, allowed_mentions

Webhook

Executes a Slack-compatible webhook.

webhooks/{webhook.id}/slack

webhook.id, payload_json

Webhook

Executes a GitHub compatible webhook.

webhooks/{webhook.id}/github

webhook.id, payload_json

Webhook

Executes a Jira compatible webhook.

webhooks/{webhook.id}/jira

webhook.id, payload_json

Webhook

Returns a message in a thread.

webhooks/{webhook.id}/messages/{message.id}

webhook.id, message.id

Webhook

Returns the profile associated with this webhook.

webhooks/{webhook.id}/token

webhook.id

User

Retrieves a user by their snowflake ID.

users/{user.id}

user.id

User

Modifies the current user.

users/@me

avatar, username, discriminator

User

Retrieves a DM channel.

users/@me/channels

User

Creates a DM channel with a user.

users/@me/channels

recipient_id

User

Retrieves a list of audit log entries for a guild.

guilds/{guild.id}/audit-logs

Details

Provider

Country HQ

US

API Type

REST

Categories

Team Chat

Alternatives

Important URLs

Last Updated on

2024-03-26

Created At

2023-12-14

Other Apps

Upskill for a better future

Want to start tracking API at scale?

Get updates about your favorite APIs and SDKs

Contact Us

We do our best to ensure that the data we release is complete, accurate, and useful. However, because we are not able to verify all the data, and because the processing required to make the data useful is complex, we cannot be held liable for omissions or inaccuracies.

ApiRefs Logo