Discord Guilds API

The Guilds API from Discord — 45 operation(s) for guilds.

GitHub OpenAPI

Operations 91

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 /guilds/templates/{code} Get a guild template · Get guild template #
Ask an LLM
“How do I fetch a guild template by its code?”
“Can I read the settings a template defines for a new guild?”
Tell an agent
Get guild template {code}.
Show the template {code} used to create a guild.
GET /guilds/{guild_id} Get a guild · Get guild #
Ask an LLM
“How do I look up a guild's settings and member counts?”
“Can I include approximate member counts when fetching a guild?”
Tell an agent
Get guild {guild_id}.
Show guild {guild_id} with member counts {with_counts}.
PATCH /guilds/{guild_id} Update a guild's settings · Update guild #
Ask an LLM
“How do I rename a guild or change its region?”
“Can I set a guild's verification level or default message notifications?”
Tell an agent
Rename guild {guild_id} to {name}.
Set the verification level of guild {guild_id} to {verification_level}.
GET /guilds/{guild_id}/audit-logs List a guild's audit log · List guild audit log entries #
Ask an LLM
“Who changed what in my guild recently?”
“Can I filter audit log entries by user or action type?”
Tell an agent
List audit log entries for guild {guild_id}.
Show audit log entries in guild {guild_id} made by {user_id}.
GET /guilds/{guild_id}/auto-moderation/rules List a guild's auto moderation rules · List auto moderation rules #
Ask an LLM
“What auto moderation rules are set up in my guild?”
“Can I see the trigger and action of each moderation rule?”
Tell an agent
List auto moderation rules in guild {guild_id}.
Show every moderation rule on guild {guild_id}.
POST /guilds/{guild_id}/auto-moderation/rules Create an auto moderation rule · Create auto moderation rule #
Ask an LLM
“How do I block messages containing offensive words in my guild?”
“Can I set up a new auto moderation rule on a guild?”
Tell an agent
Create an auto moderation rule in guild {guild_id}.
Add a new moderation rule to guild {guild_id}.
GET /guilds/{guild_id}/auto-moderation/rules/{rule_id} Get an auto moderation rule · Get auto moderation rule #
Ask an LLM
“How do I read one auto moderation rule on a guild?”
“What triggers and action does a specific moderation rule use?”
Tell an agent
Get auto moderation rule {rule_id} in guild {guild_id}.
Show moderation rule {rule_id} on guild {guild_id}.
DELETE /guilds/{guild_id}/auto-moderation/rules/{rule_id} Delete an auto moderation rule · Delete auto moderation rule #
Ask an LLM
“How do I remove a moderation rule from my guild?”
“Can I delete an auto moderation rule I no longer need?”
Tell an agent destructive · confirm first
Delete auto moderation rule {rule_id} from guild {guild_id}.
Remove moderation rule {rule_id} on guild {guild_id}.
PATCH /guilds/{guild_id}/auto-moderation/rules/{rule_id} Update an auto moderation rule · Update auto moderation rule #
Ask an LLM
“How do I change the triggers or action of an existing moderation rule?”
“Can I edit a guild's auto moderation rule?”
Tell an agent
Update auto moderation rule {rule_id} in guild {guild_id}.
Edit the settings of moderation rule {rule_id} on guild {guild_id}.
GET /guilds/{guild_id}/bans List a guild's bans · List guild bans #
Ask an LLM
“Who is banned from my guild?”
“Can I page through a guild's ban list?”
Tell an agent
List bans in guild {guild_id}.
Show the first {limit} bans on guild {guild_id}.
GET /guilds/{guild_id}/bans/{user_id} Get a guild ban · Get guild ban #
Ask an LLM
“Is a particular user banned from my guild?”
“Can I check the reason behind one guild ban?”
Tell an agent
Get the ban on user {user_id} in guild {guild_id}.
Show whether {user_id} is banned from guild {guild_id}.
PUT /guilds/{guild_id}/bans/{user_id} Ban a user from a guild · Ban user from guild #
Ask an LLM
“How do I kick a disruptive user out of my guild?”
“Can I ban someone and delete their messages from a set number of days?”
Tell an agent destructive · confirm first
Ban user {user_id} from guild {guild_id}.
Ban {user_id} from guild {guild_id} and delete messages from the last {delete_message_days} days.
DELETE /guilds/{guild_id}/bans/{user_id} Unban a user from a guild · Unban user from guild #
Ask an LLM
“How do I lift a ban on a user?”
“Can I bring a banned user back into my guild?”
Tell an agent destructive · confirm first
Unban user {user_id} from guild {guild_id}.
Remove the ban on {user_id} in guild {guild_id}.
POST /guilds/{guild_id}/bulk-ban Bulk ban users from a guild · Bulk ban users from guild #
Ask an LLM
“How do I ban several users from a guild at once?”
“Can I bulk ban a list of users and delete their messages?”
Tell an agent destructive · confirm first
Bulk ban users {user_ids} from guild {guild_id}.
Ban {user_ids} in guild {guild_id} and delete messages from the last {delete_message_seconds} seconds.
GET /guilds/{guild_id}/channels List a guild's channels · List guild channels #
Ask an LLM
“What text and voice channels exist in my guild?”
“Can I see the channel list for a guild?”
Tell an agent
List channels in guild {guild_id}.
Show every channel on guild {guild_id}.
POST /guilds/{guild_id}/channels Create a guild channel · Create guild channel #
Ask an LLM
“How do I create a new text or voice channel in my guild?”
“Can I set a topic, bitrate or rate limit on a new channel?”
Tell an agent
Create a {type} channel named {name} in guild {guild_id}.
Add a {type} channel {name} to guild {guild_id} with topic {topic}.
PATCH /guilds/{guild_id}/channels Reorder or update several guild channels · Bulk update guild channels #
Ask an LLM
“How do I reorder a guild's channels in one call?”
“Can I bulk update channel positions and permissions?”
Tell an agent
Bulk update the channels of guild {guild_id}.
Reorder the channels in guild {guild_id}.
GET /guilds/{guild_id}/emojis List a guild's emojis · List guild emojis #
Ask an LLM
“What custom emojis are available in my guild?”
“Can I see which roles can use each guild emoji?”
Tell an agent
List emojis in guild {guild_id}.
Show every custom emoji on guild {guild_id}.
POST /guilds/{guild_id}/emojis Create a guild emoji · Create guild emoji #
Ask an LLM
“How do I add a custom emoji to my guild?”
“Can I restrict a new emoji to certain roles?”
Tell an agent
Create emoji {name} from image {image} in guild {guild_id}.
Add a new emoji {name} to guild {guild_id} usable by roles {roles}.
GET /guilds/{guild_id}/emojis/{emoji_id} Get a guild emoji · Get guild emoji #
Ask an LLM
“How do I look up one custom emoji in a guild?”
“What image does a guild emoji use?”
Tell an agent
Get emoji {emoji_id} in guild {guild_id}.
Show the image of emoji {emoji_id} on guild {guild_id}.
DELETE /guilds/{guild_id}/emojis/{emoji_id} Delete a custom emoji from a guild · Delete guild emoji #
Ask an LLM
“How do I remove a custom emoji from my server?”
“Can I delete a single emoji without touching the rest?”
Tell an agent destructive · confirm first
Delete emoji {emoji_id} from guild {guild_id}.
Remove custom emoji {emoji_id} in server {guild_id}.
PATCH /guilds/{guild_id}/emojis/{emoji_id} Rename or reconfigure a guild emoji · Update guild emoji #
Ask an LLM
“How do I rename a custom emoji in my server?”
“Can I restrict a guild emoji to certain roles?”
Tell an agent
Rename emoji {emoji_id} in guild {guild_id} to {name}.
Set roles {roles} allowed to use emoji {emoji_id} in server {guild_id}.
PUT /guilds/{guild_id}/incident-actions Change a guild's incident actions · Update guild incident actions #
Ask an LLM
“How do I disable invites and DMs for a guild during an incident?”
“Can I set a time when invites will be re-enabled after an incident?”
Tell an agent
Disable invites in guild {guild_id} until {invites_disabled_until}.
Disable direct messages in server {guild_id} until {dms_disabled_until}.
GET /guilds/{guild_id}/integrations List integrations on a guild · List guild integrations #
Ask an LLM
“Which bots and integrations are connected to my server?”
“What integrations does a guild have set up?”
Tell an agent
List integrations on guild {guild_id}.
Show every bot connected to server {guild_id}.
DELETE /guilds/{guild_id}/integrations/{integration_id} Remove a guild integration · Delete guild integration #
Ask an LLM
“How do I disconnect a bot or integration from my server?”
“Can I remove one integration without affecting the others?”
Tell an agent destructive · confirm first
Delete integration {integration_id} from guild {guild_id}.
Disconnect bot {integration_id} from server {guild_id}.
GET /guilds/{guild_id}/invites List invites to a guild · List guild invites #
Ask an LLM
“What invites exist for my server?”
“Can I see all the invite links created for a guild?”
Tell an agent
List invites to guild {guild_id}.
Show every invite link for server {guild_id}.
GET /guilds/{guild_id}/members List members of a guild · List guild members #
Ask an LLM
“Who are the members of my server?”
“Can I page through a guild's members?”
Tell an agent
List members of guild {guild_id}.
Show the first {limit} members of server {guild_id}.
PATCH /guilds/{guild_id}/members/@me Update my own guild profile · Update my guild member #
Ask an LLM
“How do I change my nickname in a server?”
“Can I update my bio or banner as a guild member?”
Tell an agent
Set my nickname in guild {guild_id} to {nick}.
Update my bio to {bio} in server {guild_id}.
GET /guilds/{guild_id}/members/search Search guild members by name · Search guild members #
Ask an LLM
“How do I find a member by name in my server?”
“Can I search guild members for a partial name match?”
Tell an agent
Search guild {guild_id} members for {query}.
Find up to {limit} members in server {guild_id} whose name contains {query}.
GET /guilds/{guild_id}/members/{user_id} Get a guild member's profile · Get guild member #
Ask an LLM
“What roles and nickname does a specific member have in my server?”
“Can I look up one guild member by user ID?”
Tell an agent
Get member {user_id} in guild {guild_id}.
Show the profile of user {user_id} in server {guild_id}.
PUT /guilds/{guild_id}/members/{user_id} Add a user to a guild with an access token · Add guild member #
Ask an LLM
“How do I add a user to a server using an invite access token?”
“Can I mute or deafen a new member when adding them?”
Tell an agent
Add user {user_id} to guild {guild_id} using access token {access_token}.
Add {user_id} to server {guild_id} with access token {access_token}, muted {mute} and deafened {deaf}.
DELETE /guilds/{guild_id}/members/{user_id} Remove a member from a guild · Delete guild member #
Ask an LLM
“How do I kick a member out of my server?”
“Can I remove a user from a guild by their user ID?”
Tell an agent destructive · confirm first
Remove member {user_id} from guild {guild_id}.
Kick user {user_id} out of server {guild_id}.
PATCH /guilds/{guild_id}/members/{user_id} Update another guild member's roles or nickname · Update guild member #
Ask an LLM
“How do I change another member's nickname in my server?”
“Can I mute or deafen a guild member?”
Tell an agent
Set member {user_id}'s nickname in guild {guild_id} to {nick}.
Mute member {user_id} in server {guild_id} until {communication_disabled_until}.
PUT /guilds/{guild_id}/members/{user_id}/roles/{role_id} Give a member a role · Add guild member role #
Ask an LLM
“How do I give a user a role in my server?”
“Can I add a role to a guild member by role ID?”
Tell an agent
Give member {user_id} role {role_id} in guild {guild_id}.
Add role {role_id} to user {user_id} in server {guild_id}.
DELETE /guilds/{guild_id}/members/{user_id}/roles/{role_id} Remove a role from a member · Delete guild member role #
Ask an LLM
“How do I take a role away from a guild member?”
“Can I remove one role from a user without touching their other roles?”
Tell an agent destructive · confirm first
Remove role {role_id} from member {user_id} in guild {guild_id}.
Take role {role_id} away from user {user_id} in server {guild_id}.
GET /guilds/{guild_id}/new-member-welcome Get a guild's new member welcome settings · Get guild new member welcome #
Ask an LLM
“What welcome message does a new member see when they join my server?”
“Can I read the new member welcome settings for a guild?”
Tell an agent
Get the new member welcome settings for guild {guild_id}.
Show the welcome message new members get in server {guild_id}.
GET /guilds/{guild_id}/onboarding Get a guild's onboarding prompts · Get guilds onboarding #
Ask an LLM
“What onboarding prompts are set up for my server?”
“Can I read a guild's onboarding settings?”
Tell an agent
Get the onboarding prompts for guild {guild_id}.
Show the onboarding settings of server {guild_id}.
PUT /guilds/{guild_id}/onboarding Set a guild's onboarding prompts · Put guilds onboarding #
Ask an LLM
“How do I set the onboarding prompts for my server?”
“Can I change which channels new members are directed to?”
Tell an agent
Set onboarding prompts {prompts} for guild {guild_id}.
Set onboarding enabled to {enabled} and default channels {default_channel_ids} in server {guild_id}.
GET /guilds/{guild_id}/preview Get a guild's preview · Get guild preview #
Ask an LLM
“What does a guild's preview show before I join?”
“Can I get a preview of a guild without being a member?”
Tell an agent
Get the preview of guild {guild_id}.
Show what guild {guild_id} looks like to someone who hasn't joined yet.
GET /guilds/{guild_id}/prune Preview how many members would be removed by pruning · Preview prune guild #
Ask an LLM
“How many members would be removed if I pruned inactive users from my server?”
“Can I preview a member prune before actually doing it?”
Tell an agent
Preview pruning members inactive for {days} days in guild {guild_id}.
Show the member prune preview for {guild_id} including roles {include_roles}.
POST /guilds/{guild_id}/prune Remove inactive members from a server · Prune guild #
Ask an LLM
“How do I permanently remove members who haven't been active in a while?”
“Can I prune members from a server and get a count back?”
Tell an agent destructive · confirm first
Prune members inactive for {days} days in guild {guild_id}.
Prune {guild_id} and return the count of members removed.
GET /guilds/{guild_id}/regions List voice regions available to a server · List guild voice regions #
Ask an LLM
“Which voice regions can I choose for my server's voice channels?”
“What region options does a guild have for voice connections?”
Tell an agent
List the voice regions available to guild {guild_id}.
Show which voice regions {guild_id} can use.
GET /guilds/{guild_id}/requests List pending membership join requests · Get guild join requests #
Ask an LLM
“What membership join requests are waiting for me to approve in my server?”
“Can I filter pending join requests by status?”
Tell an agent
List pending join requests for guild {guild_id}.
Show {status} join requests in {guild_id}.
PATCH /guilds/{guild_id}/requests/{request_id} Approve or reject a membership join request · Action guild join request #
Ask an LLM
“How do I approve a member who applied to join my server?”
“Can I leave a rejection reason when turning down a join request?”
Tell an agent
Approve join request {request_id} in guild {guild_id}.
Reject join request {request_id} in {guild_id} with reason {rejection_reason}.
GET /guilds/{guild_id}/roles List roles in a server · List guild roles #
Ask an LLM
“What roles exist in my Discord server?”
“Can I see every role a guild has?”
Tell an agent
List the roles in guild {guild_id}.
Show all roles for {guild_id}.
POST /guilds/{guild_id}/roles Create a new role in a server · Create guild role #
Ask an LLM
“How do I create a new role for my server?”
“Can I set permissions and color on a role when I create it?”
Tell an agent
Create a role named {name} in guild {guild_id}.
Create role {name} in {guild_id} with permissions {permissions} and color {color}.
PATCH /guilds/{guild_id}/roles Reorder roles in a server · Bulk update guild roles #
Ask an LLM
“How do I reorder the roles in my server?”
“Can I change the position of several roles at once?”
Tell an agent
Reorder the roles in guild {guild_id}.
Bulk update role order for {guild_id}.
GET /guilds/{guild_id}/roles/member-counts Count how many members hold each role · Guild role member counts #
Ask an LLM
“How many members hold each role in my server?”
“What is the member count per role?”
Tell an agent
Count members for each role in guild {guild_id}.
Show how many people have each role in {guild_id}.
GET /guilds/{guild_id}/roles/{role_id} Get a role in a server · Get guild role #
Ask an LLM
“What permissions and color does a specific role have?”
“Can I look up one role by its ID?”
Tell an agent
Get role {role_id} in guild {guild_id}.
Show the permissions of role {role_id} in {guild_id}.
DELETE /guilds/{guild_id}/roles/{role_id} Delete a role from a server · Delete guild role #
Ask an LLM
“How do I remove a role from my server?”
“Can I delete a role that is no longer used?”
Tell an agent destructive · confirm first
Delete role {role_id} from guild {guild_id}.
Remove the {role_id} role in {guild_id}.
PATCH /guilds/{guild_id}/roles/{role_id} Rename or reconfigure a role · Update guild role #
Ask an LLM
“How do I rename a role or change its permissions?”
“Can I make a role mentionable or change its color?”
Tell an agent
Rename role {role_id} in {guild_id} to {name}.
Set role {role_id} in {guild_id} permissions to {permissions}.
GET /guilds/{guild_id}/scheduled-events List scheduled events in a server · List guild scheduled events #
Ask an LLM
“What events are scheduled in my server?”
“Can I see scheduled events with the number of attendees?”
Tell an agent
List scheduled events in guild {guild_id}.
Show scheduled events in {guild_id} with user counts {with_user_count}.
POST /guilds/{guild_id}/scheduled-events Create a scheduled event in a server · Create guild scheduled event #
Ask an LLM
“How do I schedule an event in my server?”
“Can I create a recurring event?”
Tell an agent
Create a scheduled event in guild {guild_id}.
Schedule a new event in {guild_id}.
GET /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id} Get a scheduled event · Get guild scheduled event #
Ask an LLM
“What are the details of one scheduled event?”
“Can I see how many people are attending an event?”
Tell an agent
Get scheduled event {guild_scheduled_event_id} in guild {guild_id}.
Show event {guild_scheduled_event_id} in {guild_id} with user counts {with_user_count}.
DELETE /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id} Delete a scheduled event · Delete guild scheduled event #
Ask an LLM
“How do I cancel a scheduled event?”
“Can I remove an event from my server?”
Tell an agent destructive · confirm first
Delete scheduled event {guild_scheduled_event_id} from guild {guild_id}.
Cancel event {guild_scheduled_event_id} in {guild_id}.
PATCH /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id} Edit a scheduled event · Update guild scheduled event #
Ask an LLM
“How do I change the time or name of an event?”
“Can I edit a scheduled event after it's created?”
Tell an agent
Update scheduled event {guild_scheduled_event_id} in guild {guild_id}.
Rename or reschedule event {guild_scheduled_event_id} in {guild_id}.
POST /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/exceptions Create an exception to a recurring event · Create guild scheduled event exception #
Ask an LLM
“How do I cancel one occurrence of a recurring event?”
“Can I change the time of a single event in a series?”
Tell an agent
Create an exception for recurring event {guild_scheduled_event_id} in {guild_id} starting at {scheduled_start_time}.
Cancel occurrence {original_scheduled_start_time} of recurring event {guild_scheduled_event_id} in {guild_id}.
DELETE /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/exceptions/{exception_id} Delete an exception to a recurring event · Delete guild scheduled event exception #
Ask an LLM
“How do I undo an exception I added to a recurring event?”
“Can I remove a single canceled occurrence?”
Tell an agent destructive · confirm first
Delete exception {exception_id} from recurring event {guild_scheduled_event_id} in {guild_id}.
Remove occurrence {exception_id} of recurring event {guild_scheduled_event_id} in {guild_id}.
PATCH /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/exceptions/{exception_id} Update a recurring event exception · Update guild scheduled event exception #
Ask an LLM
“Can I reschedule one exception of a recurring guild event?”
“Can I cancel a single occurrence of a recurring event?”
Tell an agent
Update exception {exception} of recurring event {event} in guild {guild}.
Set the new start time of exception {exception} of event {event} in {guild} to {start_time}.
GET /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/users List users attending a scheduled event · List guild scheduled event users #
Ask an LLM
“Who is attending a scheduled event on my server?”
“Can I include members with a scheduled event invite?”
Tell an agent
List users attending scheduled event {event} in guild {guild}.
Show {member} users attending event {event} in guild {guild}.
GET /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/users/counts Count users subscribed to a scheduled event · Count guild scheduled event users #
Ask an LLM
“How many people are subscribed to a scheduled event?”
“Can I count only the exceptions of a scheduled event?”
Tell an agent
Count users subscribed to scheduled event {event} in guild {guild}.
Count exceptions {exceptions} of scheduled event {event} in guild {guild}.
GET /guilds/{guild_id}/scheduled-events/{guild_scheduled_event_id}/{guild_scheduled_event_exception_id}/users List users attending a scheduled event exception · List guild scheduled event exception users #
Ask an LLM
“Who is attending a rescheduled date of a scheduled event?”
“Can I see exceptions for a scheduled event?”
Tell an agent
List users attending exception {exception} of scheduled event {event} in guild {guild}.
Show {member} users attending exception {exception} of event {event} in guild {guild}.
GET /guilds/{guild_id}/soundboard-sounds List a server's soundboard sounds · List guild soundboard sounds #
Ask an LLM
“What sounds are on my server's soundboard?”
“Can I see all soundboard sounds in a guild?”
Tell an agent
List soundboard sounds in guild {guild}.
Show every sound on the soundboard of server {guild}.
POST /guilds/{guild_id}/soundboard-sounds Add a sound to the server soundboard · Create guild soundboard sound #
Ask an LLM
“How do I add a sound to my server's soundboard?”
“Can I set a volume and emoji for a soundboard sound?”
Tell an agent
Add sound {sound} named {name} to the soundboard of guild {guild}.
Add sound {sound} named {name} to guild {guild} soundboard with volume {volume}.
GET /guilds/{guild_id}/soundboard-sounds/{sound_id} Get a soundboard sound · Get guild soundboard sound #
Ask an LLM
“What is the name and volume of a soundboard sound?”
“Can I look up one soundboard sound by ID?”
Tell an agent
Get soundboard sound {sound} in guild {guild}.
Show the details of sound {sound} on the soundboard of server {guild}.
DELETE /guilds/{guild_id}/soundboard-sounds/{sound_id} Remove a soundboard sound · Delete guild soundboard sound #
Ask an LLM
“How do I remove a sound from my server's soundboard?”
“Can I delete a soundboard sound by ID?”
Tell an agent destructive · confirm first
Delete soundboard sound {sound} from guild {guild}.
Remove sound {sound} from the soundboard of server {guild}.
PATCH /guilds/{guild_id}/soundboard-sounds/{sound_id} Update a soundboard sound · Update guild soundboard sound #
Ask an LLM
“Can I rename a soundboard sound?”
“How do I change the emoji on a soundboard sound?”
Tell an agent
Rename soundboard sound {sound} in guild {guild} to {name}.
Change the emoji of sound {sound} on guild {guild} soundboard to {emoji}.
GET /guilds/{guild_id}/stickers List a server's stickers · List guild stickers #
Ask an LLM
“What stickers are on my server?”
“Can I see all custom stickers in a guild?”
Tell an agent
List stickers in guild {guild}.
Show every custom sticker on server {guild}.
POST /guilds/{guild_id}/stickers Add a sticker to the server · Create guild sticker #
Ask an LLM
“How do I add a sticker to my server?”
“Can I tag a sticker and give it a description?”
Tell an agent
Add sticker {file} named {name} tagged {tags} to guild {guild}.
Create sticker {file} called {name} with tags {tags} and description {description} on server {guild}.
GET /guilds/{guild_id}/stickers/{sticker_id} Get a sticker · Get guild sticker #
Ask an LLM
“What is the name and tags of a server sticker?”
“Can I look up one sticker by ID?”
Tell an agent
Get sticker {sticker} in guild {guild}.
Show the details of sticker {sticker} on server {guild}.
DELETE /guilds/{guild_id}/stickers/{sticker_id} Remove a sticker · Delete guild sticker #
Ask an LLM
“How do I remove a sticker from my server?”
“Can I delete a sticker by ID?”
Tell an agent destructive · confirm first
Delete sticker {sticker} from guild {guild}.
Remove sticker {sticker} from server {guild}.
PATCH /guilds/{guild_id}/stickers/{sticker_id} Update a sticker · Update guild sticker #
Ask an LLM
“Can I rename a sticker?”
“How do I change the tags on a sticker?”
Tell an agent
Rename sticker {sticker} in guild {guild} to {name}.
Change the tags of sticker {sticker} on server {guild} to {tags}.
GET /guilds/{guild_id}/templates List a server's templates · List guild templates #
Ask an LLM
“What server templates exist on my server?”
“Can I see all guild templates in a guild?”
Tell an agent
List templates in guild {guild}.
Show every server template on server {guild}.
POST /guilds/{guild_id}/templates Create a server template · Create guild template #
Ask an LLM
“How do I create a server template from my server?”
“Can I add a description to a new server template?”
Tell an agent
Create a template named {name} from guild {guild}.
Create server template {name} with description {description} in guild {guild}.
PUT /guilds/{guild_id}/templates/{code} Sync a server template to its source · Sync guild template #
Ask an LLM
“How do I bring a server template up to date with its source server?”
“Can I refresh a guild template from its source?”
Tell an agent
Sync template {code} in guild {guild} with its source.
Update server template {code} on guild {guild} to match the source server.
DELETE /guilds/{guild_id}/templates/{code} Delete a server template · Delete guild template #
Ask an LLM
“How do I delete a server template?”
“Can I remove a guild template by its code?”
Tell an agent destructive · confirm first
Delete template {code} from guild {guild}.
Remove server template {code} on guild {guild}.
PATCH /guilds/{guild_id}/templates/{code} Update a server template · Update guild template #
Ask an LLM
“Can I rename a server template?”
“How do I change the description of a guild template?”
Tell an agent
Rename template {code} in guild {guild} to {name}.
Change the description of template {code} on guild {guild} to {description}.
GET /guilds/{guild_id}/threads/active List active threads in a server · Get active guild threads #
Ask an LLM
“Which threads are still open in my server?”
“Can I see active threads in a guild?”
Tell an agent
List active threads in guild {guild}.
Show every open thread on server {guild}.
GET /guilds/{guild_id}/vanity-url Get a server's vanity invite · Get guild vanity url #
Ask an LLM
“What is my server's vanity invite URL?”
“Can I look up a guild's vanity URL?”
Tell an agent
Get the vanity URL of guild {guild}.
Show my server's vanity invite on guild {guild}.
GET /guilds/{guild_id}/voice-states/@me Get my own voice state in a guild · Get self voice state #
Ask an LLM
“How do I see my own voice state in a Discord guild?”
“Can I check whether I am muted or deafened in a guild?”
Tell an agent
Get my voice state in guild {guild_id}.
Show whether I am muted or deafened in guild {guild_id}.
PATCH /guilds/{guild_id}/voice-states/@me Update my own voice state · Update self voice state #
Ask an LLM
“How do I raise my hand to speak in a guild?”
“Can I suppress my own voice state in a guild?”
Tell an agent
Raise my hand to speak in guild {guild_id}.
Suppress my voice state in guild {guild_id}.
GET /guilds/{guild_id}/voice-states/{user_id} Get another user's voice state · Get voice state #
Ask an LLM
“How do I see what channel a specific user is in?”
“Can I check whether another user is muted or deafened?”
Tell an agent
Get the voice state of user {user_id} in guild {guild_id}.
Show which channel user {user_id} is in on guild {guild_id}.
PATCH /guilds/{guild_id}/voice-states/{user_id} Update another user's voice state · Update voice state #
Ask an LLM
“How do I move another user to a different channel?”
“Can I mute or deafen another user in a guild?”
Tell an agent
Move user {user_id} to channel {channel_id} in guild {guild_id}.
Suppress user {user_id} in guild {guild_id}.
GET /guilds/{guild_id}/webhooks List a guild's webhooks · Get guild webhooks #
Ask an LLM
“Which webhooks are set up on my guild?”
“Can I see all the webhooks for a server?”
Tell an agent
List the webhooks on guild {guild_id}.
Show every webhook configured for server {guild_id}.
GET /guilds/{guild_id}/welcome-screen Get a guild's welcome screen · Get guild welcome screen #
Ask an LLM
“What does the welcome screen of my guild look like?”
“Can I read the welcome screen settings for a server?”
Tell an agent
Get the welcome screen of guild {guild_id}.
Show the server's welcome screen settings.
PATCH /guilds/{guild_id}/welcome-screen Update a guild's welcome screen · Update guild welcome screen #
Ask an LLM
“How do I change the welcome screen text or channels?”
“Can I turn the welcome screen on or off?”
Tell an agent
Set the welcome screen description of guild {guild_id} to {description}.
Update the welcome screen of guild {guild_id} with channels {welcome_channels}.
GET /guilds/{guild_id}/widget Get a guild's widget settings · Get guild widget settings #
Ask an LLM
“How do I see whether the guild widget is enabled?”
“Can I read the widget settings of a server?”
Tell an agent
Get the widget settings of guild {guild_id}.
Show whether the server widget is enabled.
PATCH /guilds/{guild_id}/widget Update a guild's widget settings · Update guild widget settings #
Ask an LLM
“How do I change which channel the widget shows?”
“Can I turn the guild widget on or off?”
Tell an agent
Set the widget channel of guild {guild_id} to {channel_id}.
Enable the widget on guild {guild_id} with enabled {enabled}.
GET /guilds/{guild_id}/widget.json Get a guild's widget JSON · Get guild widget #
Ask an LLM
“How do I get the widget data for my guild?”
“Can I fetch the widget JSON for a server?”
Tell an agent
Get the widget JSON for guild {guild_id}.
Fetch the server's widget data.
GET /guilds/{guild_id}/widget.png Get a guild's widget as a PNG · Get guild widget png #
Ask an LLM
“How do I download the widget image for my guild?”
“Can I get the widget as a PNG with a style?”
Tell an agent
Get the widget PNG for guild {guild_id}.
Download the guild widget image with style {style}.

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-guilds-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-guilds-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Discord HTTP API (Preview) Guilds 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 (416 KB total) ---
# Full source: https://artifacts.apis.io/discord/openapi/discord-guilds-api-openapi.yml