API reference
The player
A music bot's player in a voice channel.
Get Player
/channels/{channel.id}/playerPeople and botstether onlyThe state of a voice channel's player (active: false when no bot plays there).
Permissions needed
VIEW_CHANNELbit 1024- View channels
Path parameters
channel.id- The voice channel's id.
Response
200 APIPlayerState
{
"guild_id": "107441200000000001",
"channel_id": "107441200000000011",
"bot_id": "107441200000000300",
"active": true,
"now_playing": {
"id": "yt:abc123",
"title": "Harder Better Faster",
"artist": "Daft Punk",
"duration_ms": 224000,
"art_url": null,
"requested_by": {
"id": "107441200000000200",
"name": "josh"
},
"is_autoplay": false,
"position_ms": 5000,
"position_at": "2026-10-22T10:00:00.000Z"
},
"paused": false,
"queue": [
{
"id": "yt:def456",
"title": "One More Time",
"artist": "Daft Punk",
"duration_ms": 320000,
"art_url": null,
"requested_by": null,
"is_autoplay": true
}
],
"queue_length": 14,
"recent": [],
"toggles": [
{
"id": "autoplay",
"label": "Autoplay",
"icon": "autoplay",
"on": true,
"description": "Keeps the vibe going after the queue."
}
],
"rating": true
}
Errors
UNKNOWN_CHANNEL10003 · HTTP 404- The channel does not exist, or you are not in its server.
MISSING_ACCESS50001 · HTTP 403- You are in the server but cannot see the channel (VIEW_CHANNEL).
CANNOT_EXECUTE_ON_CHANNEL_TYPE50024 · HTTP 400- The channel is not a voice channel.
Discord
Only on tether: Discord has no such route.
Put Player State
/channels/{channel.id}/playerBots onlytether onlyReport what is playing. It replaces the whole state and starts the player if the bot has none.
For music bots only (the maker sets player: true with Modify Bot), and the bot must be in that voice channel. Send it on change only, not every second: progress is position_ms at position_at plus the time since, unless paused (position_at is optional; the server stamps its own clock). queue is at most the next 10 songs (queue_length is the whole queue), recent the last 10. art_url goes through tether's picture proxy (PNG, JPEG, GIF or WebP up to 6 MB); clients never contact it. One bot owns a channel's player: the first to PUT keeps it until it ends. See The music player.
Path parameters
channel.id- The voice channel's id.
Body
application/json
now_playingobject | nullrequiredpausedbooleanrequiredqueuearray of object · max 10 itemsrequiredqueue[].idstring · 1 to 200 charactersrequiredqueue[].titlestring · 1 to 300 charactersrequiredqueue[].artiststring | null · 1 to 300 charactersrequiredqueue[].duration_msinteger | null · 0 to 86400000requiredqueue[].art_urlstring | null · max 2048 charactersrequiredqueue[].requested_byobject | nullqueue[].is_autoplayboolean · default falsequeue_lengthinteger · min 0requiredrecentarray of object · max 10 itemsrecent[].idstring · 1 to 200 charactersrequiredrecent[].titlestring · 1 to 300 charactersrequiredrecent[].artiststring | null · 1 to 300 charactersrequiredrecent[].duration_msinteger | null · 0 to 86400000requiredrecent[].art_urlstring | null · max 2048 charactersrequiredrecent[].requested_byobject | nullrecent[].is_autoplayboolean · default falsetogglesarray of object · max 4 items · defaulttoggles[].idstringrequiredtoggles[].labelstring · 1 to 24 charactersrequiredtoggles[].icon"autoplay" | "hush" | "star" | "heart" | "moon" | "sparkle" | "bolt" | "radio" | "note" | "speaker"requiredtoggles[].onbooleanrequiredtoggles[].descriptionstring · 1 to 80 charactersratingboolean · default false
Example request
{
"now_playing": {
"id": "yt:abc123",
"title": "Harder Better Faster",
"artist": "Daft Punk",
"duration_ms": 224000,
"art_url": null,
"position_ms": 0
},
"paused": false,
"queue": [],
"queue_length": 0
}
Response
200 APIPlayerState
{
"guild_id": "107441200000000001",
"channel_id": "107441200000000011",
"bot_id": "107441200000000300",
"active": true,
"now_playing": {
"id": "yt:abc123",
"title": "Harder Better Faster",
"artist": "Daft Punk",
"duration_ms": 224000,
"art_url": null,
"requested_by": {
"id": "107441200000000200",
"name": "josh"
},
"is_autoplay": false,
"position_ms": 5000,
"position_at": "2026-10-22T10:00:00.000Z"
},
"paused": false,
"queue": [
{
"id": "yt:def456",
"title": "One More Time",
"artist": "Daft Punk",
"duration_ms": 320000,
"art_url": null,
"requested_by": null,
"is_autoplay": true
}
],
"queue_length": 14,
"recent": [],
"toggles": [
{
"id": "autoplay",
"label": "Autoplay",
"icon": "autoplay",
"on": true,
"description": "Keeps the vibe going after the queue."
}
],
"rating": true
}
Errors
NOT_A_PLAYER_BOT90212 · HTTP 403- The bot is not marked as a music bot (or a person called).
PLAYER_BOT_NOT_IN_CALL90213 · HTTP 400- The bot is not in that voice channel: join with gateway op 4 first.
PLAYER_DISABLED90215 · HTTP 403- The player is switched off for this bot in this server.
PLAYER_BUSY90214 · HTTP 409- Another bot already drives that channel's player.
PLAYER_NOBODY_THERE90218 · HTTP 400- Only bots are in the channel: a player plays to people.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
Rate limits
playerStatePerBotbucket f7e23db1- 20 per 5 seconds, counted per user. See Rate limits.
Gateway events it causes
Discord
Only on tether: Discord has no such route.
Discord has no player; this is how a bot drives tether's.
End Player
/channels/{channel.id}/playerBots onlytether onlyEnd the bot's player in a channel. 204 also when there is nothing to end.
A bot hidden by "Hide in voice channels" is visible again.
Path parameters
channel.id- The voice channel's id.
Response
204 no body
Errors
NOT_A_PLAYER_BOT90212 · HTTP 403- A person called.
UNKNOWN_PLAYER90216 · HTTP 404- Another bot owns the player there.
Gateway events it causes
Discord
Only on tether: Discord has no such route.