API reference
Stickers
A server's own stickers, and sending them in messages.
List Guild Stickers
/guilds/{guild.id}/stickersPeople and botsThe server's stickers.
user (who uploaded each one) is only there for people with Create Expressions or Manage Expressions.
Path parameters
guild.id- A snowflake id.
Response
200 a list of APISticker
[
{
"id": "107441200000000550",
"name": "campfire",
"description": "A little fire",
"tags": "fire",
"type": 2,
"format_type": 1,
"available": true,
"guild_id": "107441200000000001",
"user": {
"id": "107441200000000200",
"username": "josh",
"discriminator": "0",
"global_name": "Josh",
"avatar": "3f2a9c1e5b7d4a608c1e2f3a4b5c6d7e",
"banner": null,
"accent_color": null,
"bot": false,
"public_flags": 0
}
}
]
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
Discord
The same as Discord’s List Guild Stickers.
Get Guild Sticker
/guilds/{guild.id}/stickers/{sticker.id}People and botsOne sticker of a server; user (who uploaded it) for people with Create Expressions or Manage Expressions.
Path parameters
guild.id- A snowflake id.
sticker.id- A snowflake id.
Response
200 APISticker
{
"id": "107441200000000550",
"name": "campfire",
"description": "A little fire",
"tags": "fire",
"type": 2,
"format_type": 1,
"available": true,
"guild_id": "107441200000000001",
"user": {
"id": "107441200000000200",
"username": "josh",
"discriminator": "0",
"global_name": "Josh",
"avatar": "3f2a9c1e5b7d4a608c1e2f3a4b5c6d7e",
"banner": null,
"accent_color": null,
"bot": false,
"public_flags": 0
}
}
Errors
UNKNOWN_GUILD10004 · HTTP 404- The server does not exist, or you are not in it.
UNKNOWN_STICKER10060 · HTTP 404- There is no such sticker.
Discord
The same as Discord’s Get Guild Sticker.
Get Sticker
/stickers/{sticker.id}People and botsAny sticker by its id (a message can carry a sticker of another server). The picture is at /stickers/{sticker.id}.png (or .gif).
Someone who is not in the sticker's server gets its name, tags, format_type and guild_id and nothing more: description is null and there is no user. A member gets what the server routes give them (user only with Create Expressions or Manage Expressions). The same address with .png or .gif after the id is the sticker's picture (see Sticker picture). tether has no standard sticker packs and no Lottie stickers, so every sticker is a server's (type 2) with format_type 1 (PNG), 2 (APNG) or 4 (GIF).
Path parameters
sticker.id- A snowflake id.
Response
200 APISticker
{
"id": "107441200000000550",
"name": "campfire",
"description": "A little fire",
"tags": "fire",
"type": 2,
"format_type": 1,
"available": true,
"guild_id": "107441200000000001",
"user": {
"id": "107441200000000200",
"username": "josh",
"discriminator": "0",
"global_name": "Josh",
"avatar": "3f2a9c1e5b7d4a608c1e2f3a4b5c6d7e",
"banner": null,
"accent_color": null,
"bot": false,
"public_flags": 0
}
}
Errors
UNKNOWN_STICKER10060 · HTTP 404- There is no such sticker.
Discord
Like Discord’s Get Sticker, with differences.
tether has no standard packs; the answer is always a server sticker.
Create Guild Sticker
/guilds/{guild.id}/stickersPeople and botsUpload a sticker (PNG, APNG or GIF, 512 KB at most). A server may have 10. Sent as multipart/form-data.
The fields are name (2 to 30 characters), description (empty, or 2 to 100), tags (2 to 200, comma separated: the related emoji, such as fire) and the picture as the part named file. A picture bigger than 320×320 is scaled down (an animation stays an animation); what is stored and served is always a picture the server made itself, with no metadata. Every picture goes through the image check before it is saved.
Permissions needed
CREATE_GUILD_EXPRESSIONSbit 8796093022208- Create emoji
Path parameters
guild.id- A snowflake id.
Body
multipart/form-data
namestring · 2 to 30 charactersrequired- Two to 30 characters. Stickers are not in the name rules.
descriptionstring · max 100 characters · default ""- Empty, or 2 to 100 characters.
tagsstring · 2 to 200 charactersrequired- Two to 200 characters: what the sticker is about, comma separated.
The picture is the file part of the form (image/*: PNG, APNG or GIF).
Example request
{
"name": "campfire",
"description": "A little fire",
"tags": "fire"
}
Response
201 APISticker
{
"id": "107441200000000550",
"name": "campfire",
"description": "A little fire",
"tags": "fire",
"type": 2,
"format_type": 1,
"available": true,
"guild_id": "107441200000000001",
"user": {
"id": "107441200000000200",
"username": "josh",
"discriminator": "0",
"global_name": "Josh",
"avatar": "3f2a9c1e5b7d4a608c1e2f3a4b5c6d7e",
"banner": null,
"accent_color": null,
"bot": false,
"public_flags": 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 outside its limits, or the file is missing, too big (512 KB) or not a PNG, APNG or GIF.
MAXIMUM_STICKERS30039 · HTTP 400- The server already has as many stickers as it may (10).
IMAGE_REFUSED90255 · HTTP 400- The picture matched the image check. It was not saved.
REQUEST_ENTITY_TOO_LARGE40005 · HTTP 413- The request is far bigger than a sticker can be.
RATE_LIMITED90003 · HTTP 429- Another sticker picture of yours is still being processed. One at a time per person.
Rate limits
stickerCreatePerUserGuildbucket e01d8fff- 30 per 3600 seconds, counted per user. See Rate limits.
Gateway events it causes
Discord
Like Discord’s Create Guild Sticker, with differences.
No Lottie. 10 stickers per server. Bigger pictures are scaled down instead of refused.
Modify Guild Sticker
/guilds/{guild.id}/stickers/{sticker.id}People and botsChange a sticker's name, description or tags. The picture cannot be changed.
Needs Manage Expressions, or Create Expressions for a sticker you uploaded yourself.
Permissions needed
MANAGE_GUILD_EXPRESSIONSbit 1073741824- Manage emoji
Path parameters
guild.id- A snowflake id.
sticker.id- A snowflake id.
Body
application/json
namestring · 2 to 30 charactersdescriptionstring | null · max 100 characterstagsstring · 2 to 200 characters
Example request
{
"name": "campfire_night",
"description": null
}
Response
200 APISticker
{
"id": "107441200000000550",
"name": "campfire",
"description": "A little fire",
"tags": "fire",
"type": 2,
"format_type": 1,
"available": true,
"guild_id": "107441200000000001",
"user": {
"id": "107441200000000200",
"username": "josh",
"discriminator": "0",
"global_name": "Josh",
"avatar": "3f2a9c1e5b7d4a608c1e2f3a4b5c6d7e",
"banner": null,
"accent_color": null,
"bot": false,
"public_flags": 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.
UNKNOWN_STICKER10060 · HTTP 404- There is no such sticker.
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 Sticker.
Delete Guild Sticker
/guilds/{guild.id}/stickers/{sticker.id}People and botsDelete a sticker. Its picture is removed.
Needs Manage Expressions, or Create Expressions for a sticker you uploaded yourself. Messages that carried the sticker keep its name in sticker_items; the picture is gone.
Permissions needed
MANAGE_GUILD_EXPRESSIONSbit 1073741824- Manage emoji
Path parameters
guild.id- A snowflake id.
sticker.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 lack a permission the route needs.
UNKNOWN_STICKER10060 · HTTP 404- There is no such sticker.
Gateway events it causes
Discord
The same as Discord’s Delete Guild Sticker.