Play a custom soundboard sound in a Discord voice channel from a bot and manage guild soundboard sounds

domain: docs.discord.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a guild soundboard sound with POST /guilds/{guild.id}/soundboard-sounds, providing a base64 mp3 or ogg data URI plus name and optional emoji/volume
  2. Confirm the source audio fits within the 512 KB file size and 5.2-second duration limits before uploading
  3. Call POST /channels/{channel.id}/send-soundboard-sound with the sound_id (and source_guild_id if the sound belongs to a different server) to play it
  4. Ensure the bot holds SPEAK and USE_SOUNDBOARD permissions, plus USE_EXTERNAL_SOUNDS if playing a sound sourced from another guild
  5. Confirm the target user is connected to the voice channel with a voice state that has deaf, self_deaf, mute, and suppress all unset before attempting playback

Known gotchas

Related routes

Add and remove roles on Discord guild members via the API, respecting role hierarchy
discord.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans