Soundboard Sound Object
Soundboard Sound Structure
Example Default Soundboard Sound
Example Guild Soundboard Sound
Sound Files
A soundboard sound can be retrieved in MP3 or Ogg format at the URL:Send Soundboard Sound
Send a soundboard sound to a voice channel the user is connected to. Fires a Voice Channel Effect Send Gateway event. Requires theSPEAK and USE_SOUNDBOARD permissions, and also the USE_EXTERNAL_SOUNDS permission if the sound is from a different server. Additionally, requires the user to be connected to the voice channel, having a voice state without deaf, self_deaf, mute, or suppress enabled.
JSON Params
List Default Soundboard Sounds
Returns an array of soundboard sound objects that can be used by all users.List Guild Soundboard Sounds
Returns a list of the guild’s soundboard sounds. Includesuser fields if the bot has the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.
Response Structure
Get Guild Soundboard Sound
Returns a soundboard sound object for the given sound id. Includes theuser field if the bot has the CREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission.
Create Guild Soundboard Sound
Create a new soundboard sound for the guild. Requires theCREATE_GUILD_EXPRESSIONS permission. Returns the new soundboard sound object on success. Fires a Guild Soundboard Sound Create Gateway event.
Soundboard sounds have a max file size of 512kb and a max duration of 5.2 seconds.
This endpoint supports the
X-Audit-Log-Reason header.JSON
JSON Params
Modify Guild Soundboard Sound
Modify the given soundboard sound. For sounds created by the current user, requires either theCREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission. For other sounds, requires the MANAGE_GUILD_EXPRESSIONS permission. Returns the updated soundboard sound object on success. Fires a Guild Soundboard Sound Update Gateway event.
All parameters to this endpoint are optional.
This endpoint supports the
X-Audit-Log-Reason header.JSON Params
Delete Guild Soundboard Sound
Delete the given soundboard sound. For sounds created by the current user, requires either theCREATE_GUILD_EXPRESSIONS or MANAGE_GUILD_EXPRESSIONS permission. For other sounds, requires the MANAGE_GUILD_EXPRESSIONS permission. Returns 204 No Content on success. Fires a Guild Soundboard Sound Delete Gateway event.
This endpoint supports the
X-Audit-Log-Reason header.