tether developers
Contents

Docs

Changelog

What changed in API v1, newest first. Within v1 changes are additive only.

The API is v1, under /api/v1. Within v1 we only add: new routes, new fields, new events, new error codes, new optional parameters. We do not remove or rename a route or a field, change what a field means, or make an optional parameter required. A breaking change would be /api/v2, announced here first with v1 kept running alongside. A client should ignore fields and events it does not know.

2026-11-19: end-to-end encrypted voice (voice_e2ee, 90033 to 90036)

Voice channels have a new field voice_e2ee (a server owner can turn it on). In an encrypted channel bots cannot join: opcode 4 is refused with the new code 90034. People's apps send an optional e2ee_key in opcode 4, voice states carry it while the room is encrypted, VOICE_SERVER_UPDATE has e2ee, and two new events (VOICE_E2EE_KEY, VOICE_E2EE_KEY_REQUEST) are for people's apps only. New error codes 90033 to 90036 are about encrypted calls. A bot should ignore the new fields. Nothing was removed or renamed.

A message with a link to a site on a list of harmful sites is not sent: the route answers 400 with the new error code 90261 (LINK_BLOCKED) and blocked_message in the body, and a bot gets the same answer. The message carries the new field not_sent: "harmful_link" in what its author sees. A new account (under a day old) that sends the same text, many mentions or invite links to many places is paused for 10 minutes: 429 with the new code 90262 (SENDING_PAUSED) and retry_after. Nothing was removed or renamed.

2026-11-17: threads in DMs

Threads now work in DMs and group DMs: type 11 channels with no guild_id whose parent_id is the conversation, with the same routes and events (under the DIRECT_MESSAGES intent). New: List Active DM Threads, READY's dm_threads, and via_app on a message that a known app made for a person. See Threads.

2026-11-11: animated avatars and banners

A person's or bot's avatar and banner can be animated, free for everyone (Nitro on Discord). The hash then starts with a_, as on Discord, and the CDN serves .gif as the GIF, .webp?animated=true as an animated WebP, and everything else as a still of the first frame (Coming from Discord). A still picture is unchanged. Nothing was removed or renamed; a client that matched a hash with ^[a-f0-9]{32}$ should accept an optional a_ first.

2026-11-07: reactions in a call

People in a voice channel can send a reaction (one of ๐Ÿ”ฅ ๐Ÿ˜‚ โค๏ธ ๐Ÿ‘ ๐Ÿ˜ฎ) with POST /channels/{id}/voice-channel-effects. Discord's VOICE_CHANNEL_EFFECT_SEND follows, with Discord's fields, under the GUILD_VOICE_STATES intent and only to the people in that voice channel. New error code 90032 (you are not connected to that channel). Nothing was removed or renamed.

2026-11-02: scheduled events

A server can plan scheduled events (Scheduled events): GET/POST /guilds/{id}/scheduled-events, GET/PATCH/DELETE /guilds/{id}/scheduled-events/{id}, GET .../{id}/users, and PUT/DELETE .../{id}/users/@me (people only) to mark interest, with Discord's fields. GUILD_SCHEDULED_EVENT_CREATE, _UPDATE, _DELETE, _USER_ADD and _USER_REMOVE come under the GUILD_SCHEDULED_EVENTS intent, and a server's guild_scheduled_events is no longer always empty in GUILD_CREATE. New permissions Create Events (bit 44) and Manage Events (bit 33), error codes 10070, 10071, 180000 and 90260, and audit log entries 100 to 102. Voice events and events somewhere else; no stage events. Events start and end by themselves and repeating events roll to their next time. user_interested is new on the event object. Nothing was removed or renamed.

2026-11-02: stickers

A server can have stickers (Stickers): GET/POST /guilds/{id}/stickers, GET/PATCH/DELETE /guilds/{id}/stickers/{id} and GET /stickers/{id}, with Discord's fields. A message takes sticker_ids (up to 3) and carries sticker_items. GUILD_STICKERS_UPDATE (intent GUILD_EXPRESSIONS) carries a server's whole list after a change, and a server's stickers is no longer always empty in GET /guilds/{id}, GUILD_CREATE and GUILD_UPDATE. New error codes 10060 (UNKNOWN_STICKER) and 30039 (MAXIMUM_STICKERS), and audit log entries 90 to 92. Ten stickers a server; PNG, APNG and GIF only, no Lottie. Nothing was removed or renamed.

2026-10-28: pictures can be refused (90255)

When tether checks uploaded pictures against a list of known child abuse material (a server operator turns this on), a picture that matches is refused with 400 and the new error code 90255 (IMAGE_REFUSED) on every route that takes a picture: file attachments, avatars, banners, server icons and banners, emoji and pictures for posts. The picture is not stored, and the account that sent it is suspended until tether's staff have looked (a bot's maker is the one suspended, and the bot stops with them). Nothing was removed or renamed.

2026-10-28: a bot stops when its maker is suspended or banned

If tether's staff suspend or ban the person who made a bot, the bot's token stops working (401) and its gateway connections close with code 4004, until the suspension ends or is lifted; a banned or suspended bot account stops the same way. New error code 90250 (ACCOUNT_RESTRICTED) is what a person gets when signing in to such an account; bots never see it. Nothing was removed or renamed.

2026-10-27: Modify Guild: owner_id

Modify Guild now takes Discord's owner_id, to give a server to someone else. Only the owner can, and only a person: a bot token is refused (403) even with Manage Server, and the new owner must be a person in the server. (While the owner has two-factor on, tether's mfa_code must come with it.) GUILD_UPDATE carries the new owner_id. Nothing was removed or renamed.

2026-10-27: age-restricted channels: nsfw is real

The nsfw field of text and voice channels is Discord's age-restricted switch and is now real (it was always false): Create Guild Channel and Modify Channel take it, every channel object, CHANNEL_CREATE, CHANNEL_UPDATE, GUILD_CREATE and an interaction's channel carry it, and it is an audit log key. Your bot sees age-restricted channels and may post in them, as on Discord (people under 18, and people who have not given a birthday, never see them). A category cannot be age-restricted (400, a nsfw field error). A command's own nsfw flag is still just stored and shown: it is not limited to age-restricted channels. Nothing was removed or renamed.

2026-10-24: rich posts: a limit on pictures

A rich post may name at most 30 pictures from web addresses (each address counted once; attachment:// pictures are not counted), a card (Container) holds at most 100 pieces of its own, and the pictures of a media gallery now count toward the 250 pieces. A post over a limit is refused with 400, code 50035. See Rich posts for bots.

2026-10-24: rich posts, pickers, setting fields and switches for bots

Bots can send rich posts: messages with the flag IS_COMPONENTS_V2 (32768) made of Discord's components v2 (Container, Section, Text Display, Thumbnail, Media Gallery, Separator, Action Row) and tether's own pieces: Row (1001), Author (1002) and the setting field (1003). A section's accessory may be a button or a group of buttons; a button with tether_toggle is an On/Off switch. Discord's user, role, mentionable and channel pickers (types 5 to 8, default_values, channel_types) work in messages and in forms; the presser only sees what they can see, and your bot gets the ids with Discord's resolved. Callback type 7 updates a rich post in place; type 4 with flags: 32768 (and 64 for a private one) sends one. Limits are tether's, not Discord's (250 pieces, 16,000 characters of text, 10 buttons a row, 100 options): see Rich posts for bots. Fixed with it: after "answer later" (type 5) to a button press or a form, the first edit of @original now makes the new message, as on Discord (it used to try to change the message the button is on). Nothing was removed or renamed; Create Message and Edit Message now take up to 100 top-level components (only a rich post can use more than 5).

2026-10-24: every permission in the portal's picker

The portal's Add to server tab now offers every permission a bot can be given, in Discord's three groups (General, Text, Voice), instead of seven. Administrator (bit 8) is there too, with a warning, so a bot can ask for it in its link. Nothing changed in the API: default_permissions and the link's permissions always took any bit.

2026-10-24: user settings carry guild_folders

Get Current User Settings and READY's user_settings now have Discord's guild_folders next to custom_status: the person's servers in the order their app shows them, in folders ({ id, name, color, guild_ids }, an ungrouped server is an entry with id: null and one id). A bot gets its servers in join order; only a person can change it (Modify Current User Settings answers 403 to a bot that sends guild_folders). USER_SETTINGS_UPDATE now carries only the settings that changed, so it may have guild_folders and no custom_status, or the other way round. Nothing was removed or renamed.

2026-10-24: Get User

Get User, GET /users/{user.id}, like Discord's: fetch_user() and users.fetch() work for any id, also for someone a bot shares no server with (a /hackban that bans by id can now say who it banned). The answer has the public fields only (id, username, global_name, avatar, discriminator, bot, banner, accent_color, public_flags); an unknown id is 404 10013. Lookups are limited to 30 a minute and 300 an hour. Earlier docs said this route did not exist; that is no longer so.

2026-10-24: ids count from Discord's epoch

Ids made from 2026-10-24T00:00:00Z count from Discord's epoch (2015-01-01), like Discord's own. A library now reads the real date out of them: created_at, snowflake_time, a date as a history bound, bulk delete's two-week rule. Ids made before that day count from 2026-01-01 and read as dates in 2015 or 2016 to a library; they are still smaller than every new id, so before, after, around and any sort by id keep working. Use the timestamp field for old messages. Nothing was removed or renamed. See Coming from Discord.

2026-10-23: blocked names

A bot's name (and any display name, nickname, server name or group name) can be refused: a name that looks like tether or its staff ("tether", "Tether Support", "the tether team", system, official), or that advertises something illegal (child sexual content, trafficking, terrorism, selling stolen accounts, cards or data). Names about drugs or weapons are fine. Create Bot and Modify Bot answer 400 50035 (Invalid Form Body) with errors.username._errors[0].code set to NAME_NOT_ALLOWED and the message "That name isn't allowed."; the answer never says which rule matched. Swearing is fine, and ordinary words that only contain a banned one ("Scunthorpe", "cocktail") are fine. Nothing was removed or renamed; a client that already shows a field's message needs no change. See Errors.

2026-10-23: ported bots, first fixes

Real open-source Discord bots were run against tether with only the addresses changed (Coming from Discord). What that turned up, all additive:

  • Interaction ids count from Discord's epoch, so discord.py's Interaction.created_at and is_expired() are right. Before, a hybrid command's ctx.send saw an "expired" interaction and posted a plain message, and the person saw "The bot didn't respond".
  • Webhook message routes. Get Original Interaction Response (discord.js fetchReply()), and Get, Edit and Delete of a follow-up by its id, as well as of private messages.
  • Forms (modals). Callback type 9 opens a form for a slash command or a button or menu press and the bot gets the answers as INTERACTION_CREATE type 5, in the shape it asked in. discord.py's Modal and discord.js's ModalBuilder work. Text inputs and single-choice menus. See Buttons and interactions.
  • A bot's attachment links download. attachments[].url (and proxy_url) in a message a bot may read is an absolute link signed for an hour, so discord.py's Attachment.read() and a plain fetch(url) work. People still get the path.
  • User and message commands (context menus) run. Apps in the right-click menu of a person or a message lists the bots' type: 2 and type: 3 commands; the bot gets data.target_id and data.resolved (users/members, or messages as the bot may read them). See Slash commands.
  • Timestamps in message text. <t:1760000000:R> (styles t T d D f F R) is shown in the reader's own clock and language, relative ones ("in 2 hours") keeping up with the minute. Before, the app showed the tag as it was written.
  • An embed image or thumbnail with no address ({}) is ignored instead of refused.

2026-10-22: the developer site

developer.tethr.lol is open: sign in with tether (closing the tab signs you out), make bots, see a token once and reset it, set a bot's picture, name and About, choose the permissions and prefix its add link asks for and copy the link, see the servers it is in and make it leave. It uses the bot routes that were already there (Create Bot, Modify Bot, Reset Bot Token, List Bot Servers) with an app token that holds the bots scope, so nothing about the API changed. This documentation and the API reference are part of the site and readable without signing in.

2026-10-22: the generated API reference

This site's API reference is generated from the same zod schemas the server checks requests with, from the gateway tables and from the error codes. Every route has its method and path, who may call it (a person, a bot, an app with a scope), the permission it needs, its body, query and answer with an example, the errors it answers, its rate-limit bucket and what Discord calls it. A test fails when a route the server registers is neither documented nor left out on purpose. The gateway has its own reference: opcodes, close codes, intents (with what tether does with each) and every event with its payload and the intent that gates it.

2026-10-22: files, rate-limit headers and threads

  • Files the Discord way. multipart/form-data (payload_json, files[n]) on messages, edits, interaction callbacks and follow-ups, streamed to storage, with Discord's 413 / 40005 for a limit crossed. An edit can keep, add and remove files. Attachments carry proxy_url. See Files.
  • Rate-limit headers. X-RateLimit-Limit, -Remaining, -Reset, -Reset-After, -Bucket, -Scope and -Global, Discord's 429 body, Via: 1.1 tether, and a limit of 50 requests a second for each bot. See Rate limits.
  • Threads. Public threads in text channels with Discord's routes and events, the permission bits Manage Threads (34), Create Public Threads (35) and Send Messages in Threads (38), and the error codes 50083, 160004, 160005 and 160006. See Threads.

2026-10-22: slash commands

Discord's application command routes, global and per server (Slash commands), INTERACTION_CREATE types 2 (a command) and 4 (autocomplete), callback type 8 with up to 25 choices, GET /channels/{channel.id}/application-command-index, and the error codes 10063 and 30032. The app's / menu lists a bot's commands under its name and picture and runs them. User and message (context menu) commands and ATTACHMENT options can be registered but not run yet.

2026-10-22: making and adding bots

  • Making bots. Bots are made in the developer portal or with Create Bot. The maker's routes (Modify Bot, List Bot Servers, Make Bot Leave Server) take a person's session or the portal's app token with the new bots scope. A bot has a name and picture set by its maker, About text (description, 400 characters), bot_public (anyone who manages a server may add it; private by default), default_permissions and default_prefix.
  • Adding bots. Discord's authorization link, /oauth2/authorize?client_id=โ€ฆ&scope=bot&permissions=โ€ฆ (guild_id and disable_guild_select too; applications.commands is accepted), with an add page for people with Manage Server. The bot joins with a managed role (managed: true, tags.bot_id) holding the permissions asked for, never more than the adder holds; the audit log records BOT_ADD (28). Add Bot to Server follows the same rules and answers the new member.
  • Server settings โ€บ Bots. Every bot in a server with its maker, a Remove button (Remove Server Bot), and the reading rule and prefix for each.

2026-10-22: the music player belongs to bots

The music player that was built into tether is gone: music comes from bots now. tether ships only the player: Put Player State, End Player and Get Player, the player:* interactions, PLAYER_STATE_UPDATE, the error codes 90210 to 90218, and the player flag on a bot. See The music player.

What a bot reads of a message is the server's decision now, per bot: mentions, a registered prefix, or everything. Discord's MESSAGE_CONTENT intent is accepted and changes nothing, and GUILD_BOT_SETTINGS_UPDATE and the settings routes (Modify Server Bot Settings) are new. See Privacy for bots.