API reference
Servers (guilds)
Servers and their channels. In the API a server is a guild.
Create Guild
/guildsPeople onlyMake a new server. You become its owner. People only.
A bot cannot make servers (403 20001). tether adds code: server code (the Advanced editor's language) that is saved into the new server straight away; code with mistakes is refused before anything is made.
Body
application/json
namestring · 2 to 100 charactersrequiredcodestring · max 204800 characters
Example request
{
"name": "The crew"
}
Response
201 APIGuild
{
"id": "107441200000000001",
"name": "The crew",
"icon": null,
"owner_id": "107441200000000200",
"roles": [
{
"id": "107441200000000001",
"name": "@everyone",
"color": 0,
"colors": {
"primary_color": 0,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": false,
"position": 0,
"permissions": "3263553",
"managed": false,
"mentionable": false
},
{
"id": "107441200000000400",
"name": "Moderator",
"color": 3447003,
"colors": {
"primary_color": 3447003,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": true,
"position": 2,
"permissions": "1099511627776",
"managed": false,
"mentionable": true
}
],
"features": [],
"default_message_notifications": 1,
"emojis": [],
"stickers": [],
"rules_channel_id": null
}
Errors
BOTS_CANNOT_USE_ENDPOINT20001 · HTTP 403- A bot token was used on a route for people.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
MAX_GUILDS30001 · HTTP 400- You are in the most servers an account may be in (200).
Rate limits
guildCreatePerUserbucket 0ed79d9e- 10 per 3600 seconds, counted per user. See Rate limits.
Gateway events it causes
Discord
Like Discord’s Create Guild, with differences.
Bots cannot; code is tether's.
Get Guild
/guilds/{guild.id}People and botsA server: its name, picture, owner, roles and emoji.
Discord's many placeholder settings (verification level, locale…) are sent with a default server's values; see "What a library will still notice".
Path parameters
guild.id- A snowflake id.
Response
200 APIGuild
{
"id": "107441200000000001",
"name": "The crew",
"icon": null,
"owner_id": "107441200000000200",
"roles": [
{
"id": "107441200000000001",
"name": "@everyone",
"color": 0,
"colors": {
"primary_color": 0,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": false,
"position": 0,
"permissions": "3263553",
"managed": false,
"mentionable": false
},
{
"id": "107441200000000400",
"name": "Moderator",
"color": 3447003,
"colors": {
"primary_color": 3447003,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": true,
"position": 2,
"permissions": "1099511627776",
"managed": false,
"mentionable": true
}
],
"features": [],
"default_message_notifications": 1,
"emojis": [],
"stickers": [],
"rules_channel_id": null
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
Discord
Like Discord’s Get Guild, with differences.
No with_counts; settings tether does not have are placeholders.
Modify Guild
/guilds/{guild.id}People and botsChange a server's name, icon, banner, default notifications, rules channel or time zone.
Permissions needed
MANAGE_GUILDbit 32- Manage server
Path parameters
guild.id- A snowflake id.
Body
application/json
namestring · 2 to 100 charactersiconstring | null · max 5592534 characters- An image data URI (
data:image/png;base64,…), ornullto clear. The server decodes, checks and re-encodes it. bannerstring | null · max 5592534 characters- The server banner (a 16:9 picture), same rules as
icon. default_message_notifications0 | 1- 0 notifies for every message, 1 only for mentions.
rules_channel_idstring | null- The channel of the rules gate, or
null. owner_idstring- Give the server to this person. Only a person who owns the server can (a bot token is refused, whatever its permissions), and the new owner must be a person in the server.
mfa_codestring · max 32 characters- A current two-factor code, needed with
owner_idwhile the owner has two-factor on. Bots never send it. time_zonestring | null · max 64 characters- An IANA time zone (
Europe/London) for repeated posts, ornull.
Example request
{
"name": "The crew (est. 2026)"
}
Response
200 APIGuild
{
"id": "107441200000000001",
"name": "The crew",
"icon": null,
"owner_id": "107441200000000200",
"roles": [
{
"id": "107441200000000001",
"name": "@everyone",
"color": 0,
"colors": {
"primary_color": 0,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": false,
"position": 0,
"permissions": "3263553",
"managed": false,
"mentionable": false
},
{
"id": "107441200000000400",
"name": "Moderator",
"color": 3447003,
"colors": {
"primary_color": 3447003,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": true,
"position": 2,
"permissions": "1099511627776",
"managed": false,
"mentionable": true
}
],
"features": [],
"default_message_notifications": 1,
"emojis": [],
"stickers": [],
"rules_channel_id": null
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You lack a permission the route needs.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
Gateway events it causes
Discord
Like Discord’s Modify Guild, with differences.
Only the fields tether has.
Set Guild Icon
/guilds/{guild.id}/iconPeople and botstether onlySet or clear the server's icon.
Permissions needed
MANAGE_GUILDbit 32- Manage server
Path parameters
guild.id- A snowflake id.
Body
application/json
iconstring | null · max 5592534 charactersrequired- An image data URI (
data:image/png;base64,…), ornullto clear. The server decodes, checks and re-encodes it.
Example request
{
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="
}
Response
200 APIGuild
{
"id": "107441200000000001",
"name": "The crew",
"icon": null,
"owner_id": "107441200000000200",
"roles": [
{
"id": "107441200000000001",
"name": "@everyone",
"color": 0,
"colors": {
"primary_color": 0,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": false,
"position": 0,
"permissions": "3263553",
"managed": false,
"mentionable": false
},
{
"id": "107441200000000400",
"name": "Moderator",
"color": 3447003,
"colors": {
"primary_color": 3447003,
"secondary_color": null,
"tertiary_color": null
},
"icon": null,
"unicode_emoji": null,
"flags": 0,
"hoist": true,
"position": 2,
"permissions": "1099511627776",
"managed": false,
"mentionable": true
}
],
"features": [],
"default_message_notifications": 1,
"emojis": [],
"stickers": [],
"rules_channel_id": null
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You lack a permission the route needs.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
Gateway events it causes
Discord
Only on tether: Discord has no such route.
On Discord the icon is a field of Modify Guild; that works here too.
Delete Guild
/guilds/{guild.id}People and botsDelete a server for good, with its channels, messages and files.
Path parameters
guild.id- A snowflake id.
Response
204 no body
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You are not the owner.
Gateway events it causes
Discord
The same as Discord’s Delete Guild.
Get Guild Channels
/guilds/{guild.id}/channelsPeople and botsThe channels you can see (View Channel), threads excluded.
Threads are not channels of this list: use List Active Threads.
Path parameters
guild.id- A snowflake id.
Response
200 a list of APIChannel
[
{
"id": "107441200000000010",
"type": 0,
"guild_id": "107441200000000001",
"name": "general",
"position": 0,
"parent_id": null,
"topic": "Anything goes.",
"nsfw": false,
"last_message_id": "107441200000000100",
"permission_overwrites": [],
"rate_limit_per_user": 0
},
{
"id": "107441200000000011",
"type": 2,
"guild_id": "107441200000000001",
"name": "Lounge",
"position": 1,
"parent_id": null,
"topic": null,
"nsfw": false,
"last_message_id": null,
"permission_overwrites": [],
"bitrate": 64000,
"user_limit": 0
}
]
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
Discord
Like Discord’s Get Guild Channels, with differences.
Only channels you can see.
Create Guild Channel
/guilds/{guild.id}/channelsPeople and botsMake a text channel (0), a voice channel (2) or a category (4).
Threads are made with the thread routes, never here. tether adds theatre (a voice channel for watching films together) and icon.
Permissions needed
MANAGE_CHANNELSbit 16- Manage channels
Path parameters
guild.id- A snowflake id.
Body
application/json
namestring · 1 to 100 charactersrequiredtypeinteger · default 00text (the default),2voice,4category.topicstring | null · max 1024 characterspositioninteger · 0 to 1000parent_idstring | null- The category to put it in.
bitrateinteger · 8000 to 384000user_limitinteger · 0 to 99theatreboolean- Tether: make a voice channel a theatre.
voice_e2eebooleanrate_limit_per_userinteger · 0 to 21600- Slow mode in seconds (text channels), 0 for off.
nsfwboolean- Age-restricted (18+), text and voice channels: people under 18 never see it. Only someone who is 18 or older can set it (403
ADULT_REQUIRED). iconstring | null- Tether: a key from the channel icon lists, or
nullfor the default. permission_overwritesarray of object · max 100 itemspermission_overwrites[].idstringrequiredpermission_overwrites[].type0 | 1requiredpermission_overwrites[].allowstring · default "0"permission_overwrites[].denystring · default "0"
Example request
{
"name": "announcements",
"type": 0,
"topic": "News about the crew"
}
Response
201 APIChannel
{
"id": "107441200000000010",
"type": 0,
"guild_id": "107441200000000001",
"name": "general",
"position": 0,
"parent_id": null,
"topic": "Anything goes.",
"nsfw": false,
"last_message_id": "107441200000000100",
"permission_overwrites": [],
"rate_limit_per_user": 0
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You lack a permission the route needs.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
MAX_CHANNELS30013 · HTTP 400- The server has 500 channels.
Gateway events it causes
Discord
Like Discord’s Create Guild Channel, with differences.
Types 0, 2 and 4 only; no forum, stage or announcement channels.
Modify Guild Channel Positions
/guilds/{guild.id}/channelsPeople and botsMove channels: new positions and categories for several at once.
Permissions needed
MANAGE_CHANNELSbit 16- Manage channels
Path parameters
guild.id- A snowflake id.
Body
application/json
{
"minItems": 1,
"maxItems": 500,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"parent_id": {
"type": [
"string",
"null"
]
},
"lock_permissions": {
"type": "boolean"
}
},
"required": [
"id"
]
}
}
Example request
[
{
"id": "107441200000000010",
"position": 1
}
]
Response
204 no body
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You lack a permission the route needs.
INVALID_FORM_BODY50035 · HTTP 400- A field is missing, the wrong type or outside its limits.
Gateway events it causes
Discord
The same as Discord’s Modify Guild Channel Positions.
Get Guild Voice Host
/guilds/{guild.id}/voice-hostPeople onlytether onlyRead whether the server has a voice server of its own, and whether it is online.
A voice server of the server's own is a small program (Docker) the owner runs on any machine; the server's voice channels use it while it is online, and tether's own voice server otherwise. Only for tether's own apps.
Path parameters
guild.id- A snowflake id.
Response
{
"id": "107441200000000011",
"guild_id": "107441200000000001",
"created_at": "2026-11-19T10:00:00.000Z",
"online": true
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You are not the owner.
UNKNOWN_VOICE_HOST90039 · HTTP 404- The server has no voice server of its own.
VOICE_HOST_UNAVAILABLE90038 · HTTP 403- You cannot set one up right now.
Discord
Only on tether: Discord has no such route.
Put Guild Voice Host
/guilds/{guild.id}/voice-hostPeople onlytether onlyMake the server's own voice server, or renew its token.
The answer carries the token, once: tether keeps only its hash. Renewing ends the connection of the old token and gives the host a new id, so people who agreed to the old one are asked again. A change of owner removes the voice server. The token goes to the voice host program (TETHER_VOICE_HOST_TOKEN); anyone who has it can run a voice host for this server, so treat it like a password.
Path parameters
guild.id- A snowflake id.
Response
{
"id": "107441200000000011",
"guild_id": "107441200000000001",
"created_at": "2026-11-19T10:00:00.000Z",
"online": false,
"token": "tvh_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You are not the owner.
VOICE_HOST_UNAVAILABLE90038 · HTTP 403- You cannot set one up right now.
Rate limits
voiceHostManagePerUserbucket 75cab70c- 20 per 600 seconds, counted per user. See Rate limits.
Discord
Only on tether: Discord has no such route.
Delete Guild Voice Host
/guilds/{guild.id}/voice-hostPeople onlytether onlyRemove the server's own voice server; its calls move to tether's voice server within seconds.
Path parameters
guild.id- A snowflake id.
Response
204 no body
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
MISSING_PERMISSIONS50013 · HTTP 403- You are not the owner.
UNKNOWN_VOICE_HOST90039 · HTTP 404- The server has no voice server of its own.
Rate limits
voiceHostManagePerUserbucket 75cab70c- 20 per 600 seconds, counted per user. See Rate limits.
Discord
Only on tether: Discord has no such route.