Discord Channels API

The Channels API from Discord — 26 operation(s) for channels.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 48

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /channels/{channel_id} Get a channel's details · Get channel #
Ask an LLM
“What are the settings of a particular channel?”
“Can I look up a channel by its ID?”
Tell an agent
Show channel {channel_id}.
Get the details of channel {channel_id}.
DELETE /channels/{channel_id} Delete a channel · Delete channel #
Ask an LLM
“How do I delete a channel?”
“Can I remove a channel from a server?”
Tell an agent destructive · confirm first
Delete channel {channel_id}.
Remove the channel {channel_id} from the server.
PATCH /channels/{channel_id} Update a channel's settings · Update channel #
Ask an LLM
“How do I rename a channel or change its topic?”
“Can I edit a channel's settings?”
Tell an agent
Update channel {channel_id}.
Rename or reconfigure channel {channel_id}.
POST /channels/{channel_id}/followers Follow a channel to another channel · Follow channel #
Ask an LLM
“How do I forward messages from one channel to another?”
“Can I follow a channel's messages into a webhook channel?”
Tell an agent
Follow channel {channel_id} into webhook channel {webhook_channel_id}.
Forward messages from {channel_id} to {webhook_channel_id}.
GET /channels/{channel_id}/invites List a channel's invites · List channel invites #
Ask an LLM
“What invites exist for a channel?”
“Can I see who has been invited to a channel?”
Tell an agent
List invites for channel {channel_id}.
Show the current invites on channel {channel_id}.
POST /channels/{channel_id}/invites Create a channel invite · Create channel invite #
Ask an LLM
“How do I create an invite to a channel?”
“Can I create an invite that targets specific users?”
Tell an agent
Create an invite to channel {channel_id}.
Create an invite to channel {channel_id} for users {target_users_file}.
GET /channels/{channel_id}/messages List messages in a channel · List messages #
Ask an LLM
“What messages are in a channel?”
“Can I list messages posted around a certain time?”
Tell an agent
List messages in channel {channel_id}.
Show {limit} messages in channel {channel_id} around {around}.
POST /channels/{channel_id}/messages Send a message to a channel · Create message #
Ask an LLM
“How do I post a message in a channel?”
“Can I send a message with an embed, sticker or poll?”
Tell an agent
Send {content} to channel {channel_id}.
Post a message with embeds {embeds} and stickers {sticker_ids} in channel {channel_id}.
POST /channels/{channel_id}/messages/bulk-delete Delete several messages at once · Bulk delete messages #
Ask an LLM
“How do I delete a batch of messages in a channel?”
“Can I remove multiple messages in one request?”
Tell an agent destructive · confirm first
Delete messages {messages} from channel {channel_id}.
Bulk remove the messages {messages} in channel {channel_id}.
GET /channels/{channel_id}/messages/pins List pinned messages in a channel · List pins #
Ask an LLM
“Which messages are pinned in a channel?”
“Can I see pinned messages posted before a certain message?”
Tell an agent
List pinned messages in channel {channel_id}.
Show the first {limit} pinned messages in channel {channel_id}.
PUT /channels/{channel_id}/messages/pins/{message_id} Pin a message in a channel · Create pin #
Ask an LLM
“How do I pin a message to a channel?”
“Can I pin a message so it stays at the top?”
Tell an agent
Pin message {message_id} in channel {channel_id}.
Pin {message_id} to the top of channel {channel_id}.
DELETE /channels/{channel_id}/messages/pins/{message_id} Unpin a message from a channel · Delete pin #
Ask an LLM
“How do I unpin a message from a channel?”
“Can I remove a pinned message?”
Tell an agent destructive · confirm first
Unpin message {message_id} from channel {channel_id}.
Remove the pin on {message_id} in channel {channel_id}.
GET /channels/{channel_id}/messages/{message_id} Get a message in a channel · Get message #
Ask an LLM
“What does a specific message in a channel say?”
“Can I fetch one message by its ID?”
Tell an agent
Show message {message_id} in channel {channel_id}.
Get the content of message {message_id} from channel {channel_id}.
DELETE /channels/{channel_id}/messages/{message_id} Delete a message from a channel · Delete message #
Ask an LLM
“How do I delete a message I posted?”
“Can I remove a single message from a channel?”
Tell an agent destructive · confirm first
Delete message {message_id} from channel {channel_id}.
Remove message {message_id} in channel {channel_id}.
PATCH /channels/{channel_id}/messages/{message_id} Edit a message in a channel · Update message #
Ask an LLM
“How do I edit a message I already posted?”
“Can I change the content of a message in a channel?”
Tell an agent
Edit message {message_id} in channel {channel_id} to say {content}.
Update message {message_id} in channel {channel_id} with embeds {embeds}.
POST /channels/{channel_id}/messages/{message_id}/crosspost Crosspost a message to another channel · Crosspost message #
Ask an LLM
“How do I crosspost a message from one channel to another?”
“Can I repost a message into a different channel?”
Tell an agent
Crosspost message {message_id} from channel {channel_id} to another channel.
Repost the message {message_id} in channel {channel_id} into a different channel.
DELETE /channels/{channel_id}/messages/{message_id}/reactions Remove all reactions from a message · Delete all message reactions #
Ask an LLM
“How do I clear every reaction on a message?”
“Can I remove all reactions from a message in one go?”
Tell an agent destructive · confirm first
Remove all reactions from message {message_id} in channel {channel_id}.
Clear every reaction on message {message_id} in channel {channel_id}.
GET /channels/{channel_id}/messages/{message_id}/reactions/{emoji_name} List who reacted with a given emoji · List message reactions by emoji #
Ask an LLM
“Who reacted with a particular emoji on a message?”
“Can I see which users reacted with a given emoji?”
Tell an agent
List users who reacted with {emoji_name} on message {message_id} in channel {channel_id}.
Show {limit} reactions with {emoji_name} on message {message_id} in channel {channel_id}.
DELETE /channels/{channel_id}/messages/{message_id}/reactions/{emoji_name} Remove a reaction from a message · Delete all message reactions by emoji #
Ask an LLM
“How do I clear every person's reaction to an emoji on a message?”
“Can I drop a specific emoji from a message in one call?”
Tell an agent destructive · confirm first
Delete all {emoji_name} reactions from message {message_id} in channel {channel_id}.
Clear the {emoji_name} reaction on {channel_id}/{message_id}.
PUT /channels/{channel_id}/messages/{message_id}/reactions/{emoji_name}/@me React to a message with an emoji · Add my message reaction #
Ask an LLM
“How do I react to a message with an emoji?”
“Can I add my own reaction to a message?”
Tell an agent
React with {emoji_name} to message {message_id} in channel {channel_id}.
Add my {emoji_name} reaction to message {message_id} in channel {channel_id}.
DELETE /channels/{channel_id}/messages/{message_id}/reactions/{emoji_name}/@me Remove my reaction to a message · Delete my message reaction #
Ask an LLM
“How do I take back my own emoji reaction on a message?”
“Can I clear just my reaction without affecting others?”
Tell an agent destructive · confirm first
Remove my reaction {emoji_name} from message {message_id} in channel {channel_id}.
Delete the {emoji_name} reaction I left on message {message_id} in {channel_id}.
DELETE /channels/{channel_id}/messages/{message_id}/reactions/{emoji_name}/{user_id} Remove someone else's reaction to a message · Delete user message reaction #
Ask an LLM
“How do I remove a specific user's reaction from a message?”
“Can I clear a single person's reaction without touching my own?”
Tell an agent destructive · confirm first
Remove user {user_id}'s reaction {emoji_name} from message {message_id} in channel {channel_id}.
Delete the {emoji_name} reaction left by {user_id} on message {message_id} in {channel_id}.
POST /channels/{channel_id}/messages/{message_id}/threads Start a thread from a message · Create thread from message #
Ask an LLM
“How do I start a discussion thread from an existing message?”
“Can I set a rate limit or auto-archive time on a thread started from a message?”
Tell an agent
Create a thread named {name} from message {message_id} in channel {channel_id}.
Start a thread {name} from message {message_id} in {channel_id} with auto-archive {auto_archive_duration}.
PUT /channels/{channel_id}/permissions/{overwrite_id} Set a role or user permission overwrite · Set channel permission overwrite #
Ask an LLM
“How do I restrict a role's access to a channel with an overwrite?”
“Can I deny a user permission on a channel without touching the channel's default permissions?”
Tell an agent
Set an overwrite on channel {channel_id} for {overwrite_id} allowing {allow} and denying {deny}.
Overwrite {overwrite_id} on channel {channel_id} to {type} with allow {allow}.
DELETE /channels/{channel_id}/permissions/{overwrite_id} Remove a channel permission overwrite · Delete channel permission overwrite #
Ask an LLM
“How do I remove a role or user overwrite from a channel?”
“Can I restore a channel's default permissions by deleting an overwrite?”
Tell an agent destructive · confirm first
Delete overwrite {overwrite_id} on channel {channel_id}.
Remove the permission overwrite {overwrite_id} from channel {channel_id}.
GET /channels/{channel_id}/pins List pinned messages (deprecated) · Deprecated list pins #
Ask an LLM
“Which messages are pinned in a channel using the older pin list?”
“Is there a deprecated way to see pinned messages in a channel?”
Tell an agent
List pinned messages in channel {channel_id} using the deprecated pin list.
Show the old-style pinned messages in {channel_id}.
PUT /channels/{channel_id}/pins/{message_id} Pin a message (deprecated) · Deprecated create pin #
Ask an LLM
“How do I pin a message in a channel with the older pin create?”
“Is pinning a message still possible through the deprecated pin create endpoint?”
Tell an agent
Pin message {message_id} in channel {channel_id} using the deprecated pin create.
Use the old-style pin create to pin {message_id} in {channel_id}.
DELETE /channels/{channel_id}/pins/{message_id} Unpin a message (deprecated) · Deprecated delete pin #
Ask an LLM
“How do I unpin a message from a channel with the older pin delete?”
“Is there a deprecated way to remove a pin from a message?”
Tell an agent destructive · confirm first
Unpin message {message_id} from channel {channel_id} using the deprecated pin delete.
Use the old-style pin delete to remove {message_id} from {channel_id}.
GET /channels/{channel_id}/polls/{message_id}/answers/{answer_id} List voters for a poll answer · Get answer voters #
Ask an LLM
“Who voted for a particular answer in a poll?”
“Can I see the voters of one answer in a poll message?”
Tell an agent
List voters for answer {answer_id} in poll {message_id} in channel {channel_id}.
Show {limit} voters of answer {answer_id} on poll {message_id} in {channel_id}.
POST /channels/{channel_id}/polls/{message_id}/expire End a poll early · Poll expire #
Ask an LLM
“How do I end a poll before it expires naturally?”
“Can I force a poll to close early?”
Tell an agent
End poll {message_id} in channel {channel_id} now.
Force poll {message_id} in {channel_id} to expire.
PUT /channels/{channel_id}/recipients/{user_id} Add a user to a group direct message · Add group dm user #
Ask an LLM
“How do I add someone to a group direct message?”
“Can I set a nickname for a new group DM member?”
Tell an agent
Add user {user_id} to group DM {channel_id}.
Add {user_id} to group DM {channel_id} with nickname {nick}.
DELETE /channels/{channel_id}/recipients/{user_id} Remove a user from a group direct message · Delete group dm user #
Ask an LLM
“How do I remove someone from a group direct message?”
“Can I kick a member out of a group DM?”
Tell an agent destructive · confirm first
Remove user {user_id} from group DM {channel_id}.
Kick {user_id} out of group direct message {channel_id}.
POST /channels/{channel_id}/send-soundboard-sound Play a soundboard sound in a channel · Send soundboard sound #
Ask an LLM
“How do I play a soundboard sound in a channel?”
“Can I play a soundboard sound from a specific guild?”
Tell an agent
Play soundboard sound {sound_id} in channel {channel_id}.
Play sound {sound_id} from guild {source_guild_id} in {channel_id}.
GET /channels/{channel_id}/thread-members List members of a thread · List thread members #
Ask an LLM
“Who is in a particular thread?”
“Can I list thread members with their member object?”
Tell an agent
List members of thread {channel_id}.
Show {limit} members of thread {channel_id} with member {with_member}.
PUT /channels/{channel_id}/thread-members/@me Join a thread · Join thread #
Ask an LLM
“How do I join a thread?”
“Can I participate in a thread I'm not a member of yet?”
Tell an agent
Join thread {channel_id}.
Add me to thread {channel_id}.
DELETE /channels/{channel_id}/thread-members/@me Leave a thread · Leave thread #
Ask an LLM
“How do I leave a thread?”
“Can I opt out of a thread I joined?”
Tell an agent destructive · confirm first
Leave thread {channel_id}.
Remove me from thread {channel_id}.
GET /channels/{channel_id}/thread-members/{user_id} Get a thread member · Get thread member #
Ask an LLM
“Is a particular user a member of a thread?”
“Can I fetch one thread member with their member object?”
Tell an agent
Get member {user_id} in thread {channel_id}.
Show thread member {user_id} in {channel_id} with member {with_member}.
PUT /channels/{channel_id}/thread-members/{user_id} Add a member to a thread · Add thread member #
Ask an LLM
“How do I add a user to a thread?”
“Can I invite someone to a thread they're not in yet?”
Tell an agent
Add user {user_id} to thread {channel_id}.
Invite {user_id} to thread {channel_id}.
DELETE /channels/{channel_id}/thread-members/{user_id} Remove a member from a thread · Delete thread member #
Ask an LLM
“How do I remove a user from a thread?”
“Can I kick someone out of a thread?”
Tell an agent destructive · confirm first
Remove user {user_id} from thread {channel_id}.
Kick {user_id} out of thread {channel_id}.
POST /channels/{channel_id}/threads Start a thread in a channel · Create thread #
Ask an LLM
“How do I start a new thread in a channel?”
“Can I create a thread without a message in a channel?”
Tell an agent
Create a thread in channel {channel_id}.
Start a new thread in {channel_id} from a message.
GET /channels/{channel_id}/threads/archived/private List a channel's private archived threads · List private archived threads #
Ask an LLM
“Which private threads have been archived in a channel?”
“Can I see private archived threads in a channel before a given message?”
Tell an agent
List private archived threads in channel {channel_id}.
Show private archived threads in {channel_id} before {before}.
GET /channels/{channel_id}/threads/archived/public List a channel's public archived threads · List public archived threads #
Ask an LLM
“What public threads have been archived in a channel?”
“Can I list public archived threads in a channel?”
Tell an agent
List public archived threads in channel {channel_id}.
Show public archived threads in {channel_id} before {before}.
POST /channels/{channel_id}/typing Send a typing indicator in a channel · Trigger typing indicator #
Ask an LLM
“How do I make the bot show a typing indicator in a channel?”
“Can I trigger a typing indicator for a user in a channel?”
Tell an agent
Trigger a typing indicator in channel {channel_id}.
Send a typing indicator in {channel_id} so users know someone is typing.
GET /channels/{channel_id}/users/@me/threads/archived/private List private archived threads I joined · List my private archived threads #
Ask an LLM
“Which archived private threads am I personally part of in a channel?”
“Can I page through only my own private archived threads in a channel?”
Tell an agent
Get my own joined private archived threads in channel {channel_id}.
Fetch up to {limit} of my joined private archived threads in {channel_id}.
PUT /channels/{channel_id}/voice-status Set a voice channel's status · Update voice channel status #
Ask an LLM
“How do I set a voice channel's status?”
“Can I change the status shown for a voice channel?”
Tell an agent
Set the status of voice channel {channel_id} to {status}.
Update the voice channel status in {channel_id} to {status}.
GET /channels/{channel_id}/webhooks List a channel's webhooks · List channel webhooks #
Ask an LLM
“What webhooks are set up on a channel?”
“Can I see all webhooks for one channel?”
Tell an agent
List webhooks on channel {channel_id}.
Show every webhook configured for {channel_id}.
POST /channels/{channel_id}/webhooks Create a webhook on a channel · Create webhook #
Ask an LLM
“How do I create a webhook on a channel?”
“Can I set a custom avatar when creating a channel webhook?”
Tell an agent
Create a webhook named {name} on channel {channel_id}.
Create webhook {name} with avatar {avatar} on {channel_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/discord:discord-channels-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

discord-channels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Discord HTTP API (Preview) Channels API
  description: Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details.
  termsOfService: https://discord.com/developers/docs/policies-and-agreements/developer-terms-of-service
  license:
    name: MIT
    identifier: MIT
  version: '10'
servers:
- url: https://discord.com/api/v10
tags:


# --- truncated at 32 KB (247 KB total) ---
# Full source: https://artifacts.apis.io/discord/openapi/discord-channels-api-openapi.yml