Guild stickers
A sticker is an image a guild stores for its members to send with a message. Names, descriptions, tags and images must pass the instance's content policy, and blocked content returns CONTENT_BLOCKED. To look up a sticker without being in its guild, see Get sticker metadata.
Guild sticker object
Section titled “Guild sticker object”Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
| id | snowflake | The ID of the sticker |
| name | string | The name of the sticker (2-30 characters) |
| description | string | The sticker description, or an empty string when it has none |
| tags | array[string] | The sticker tags |
| animated | boolean | Whether the image is animated |
| user? | partial user object | The account that uploaded the sticker, only on List guild stickers |
Example
Section titled “Example”{ "id": "1501314428688998183", "name": "shipit", "description": "Ship it", "tags": ["ship", "deploy"], "animated": false}Sticker create object
Section titled “Sticker create object”The body of Create guild sticker and each entry of Bulk create guild stickers.
Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
| name | string | The name of the sticker (2-30 characters) |
| description? | ?string | The sticker description (1-500 characters) |
| tags? | array[string] | The sticker tags (at most 10, 1-30 characters each) |
| image | base64 string | The image data, up to the sticker_max_size limit (524288 bytes by default) |
Fluxer accepts PNG, JPEG, APNG, GIF, WebP, AVIF and SVG as base64 or a data URL, but not animated AVIF. A larger image returns IMAGE_SIZE_EXCEEDS_LIMIT, and an image in another format or one Fluxer can't decode returns INVALID_IMAGE_FORMAT.
Sticker bulk create response object
Section titled “Sticker bulk create response object”The outcome of one Bulk create guild stickers call.
Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
| success | array[guild sticker object] | The stickers that were created |
| failed | array[sticker creation failure object] | The items that were rejected |
Sticker creation failure object
Section titled “Sticker creation failure object”One rejected item from a bulk create call.
Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
| name | string | The requested sticker name |
| error | string | The failure message, in the language of the account that sent the request |
List guild stickers
Section titled “List guild stickers”GET/v1/guilds/{guild_id}/stickersReturns the guild's stickers. You need to be a member of the guild.
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 200 | array[guild sticker object] | The stickers were returned |
The rate limit is 60 requests per 10 seconds, on the guild:sticker:list::guild_id bucket.
Create guild sticker
Section titled “Create guild sticker”POST/v1/guilds/{guild_id}/stickersCreates a sticker and returns it. You need CREATE_EXPRESSIONS. Fluxer sends a Guild Stickers Update event.
A guild can have 500 stickers by default, set by the max_guild_stickers limit key, and UNLIMITED_STICKERS raises it to 999999.
JSON body
Section titled “JSON body”The body is one sticker create object.
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 200 | guild sticker object | The sticker was created |
| 400 | error response | MAX_STICKERS when the guild is at its sticker limit, or a field or the image is invalid |
The rate limit is 10 requests per 30 seconds, on the guild:sticker:create::guild_id bucket.
Bulk create guild stickers
Section titled “Bulk create guild stickers”POST/v1/guilds/{guild_id}/stickers/bulkCreates several stickers in one request and returns a sticker bulk create response object. You need CREATE_EXPRESSIONS. Fluxer sends one Guild Stickers Update event when at least one sticker was created.
Fluxer creates the items in order, and each one succeeds or fails on its own. The request returns 200 even when every item fails, and failed lists the items that weren't created.
JSON body
Section titled “JSON body”| Field | Type | Description |
|---|---|---|
| stickers | array[sticker create object] | The stickers to create (1-50) |
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 200 | sticker bulk create response object | Every item was attempted |
| 400 | error response | The body, the item count or any item's fields fail validation |
The rate limit is 6 requests per minute, on the guild:sticker:bulk_create::guild_id bucket.
Clone guild sticker
Section titled “Clone guild sticker”POST/v1/guilds/{guild_id}/stickers/cloneCopies a sticker from any guild into this guild and returns it. You need CREATE_EXPRESSIONS in this guild, and you don't need to be a member of the source guild. The source guild needs CLONE_STICKER_ENABLED. Fluxer sends a Guild Stickers Update event in the target guild.
JSON body
Section titled “JSON body”| Field | Type | Description |
|---|---|---|
| source_sticker_id | snowflake | The ID of the sticker to copy |
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 200 | guild sticker object | The sticker was cloned |
| 400 | error response | MAX_STICKERS when the target guild is at its sticker limit |
| 403 | error response | MISSING_ACCESS when the source guild is gone or doesn't allow cloning |
| 404 | error response | UNKNOWN_STICKER when the source sticker doesn't exist |
The rate limit is 10 requests per 30 seconds, on the guild:sticker:clone::guild_id bucket.
Modify guild sticker
Section titled “Modify guild sticker”PATCH/v1/guilds/{guild_id}/stickers/{sticker_id}Updates the name, description and tags of a sticker and returns it. To replace the image, create a new sticker. The uploader needs CREATE_EXPRESSIONS and anyone else needs MANAGE_EXPRESSIONS. Fluxer sends a Guild Stickers Update event.
JSON body
Section titled “JSON body”| Field | Type | Description |
|---|---|---|
| name | string | The name of the sticker (2-30 characters) |
| description? | ?string | The sticker description (1-500 characters) |
| tags? | array[string] | The sticker tags (at most 10, 1-30 characters each) |
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 200 | guild sticker object | The sticker was updated |
| 404 | error response | UNKNOWN_STICKER when the sticker isn't in the guild |
The rate limit is 20 requests per 10 seconds, on the guild:sticker:update::guild_id bucket.
Delete guild sticker
Section titled “Delete guild sticker”DELETE/v1/guilds/{guild_id}/stickers/{sticker_id}Deletes a sticker and returns 204. The uploader needs CREATE_EXPRESSIONS and anyone else needs MANAGE_EXPRESSIONS. Fluxer sends a Guild Stickers Update event.
Query parameters
Section titled “Query parameters”| Field | Type | Description |
|---|---|---|
| purge? | boolean | Whether to permanently delete the stored image (default false) |
Response
Section titled “Response”| Status | Body | Condition |
|---|---|---|
| 204 | empty | The sticker was deleted |
| 403 | error response | MISSING_ACCESS when purge is set and the guild lacks EXPRESSION_PURGE_ALLOWED |
| 404 | error response | UNKNOWN_STICKER when the sticker isn't in the guild |
The rate limit is 10 requests per 30 seconds, on the guild:sticker:delete::guild_id bucket. The daily rate limit is 300 requests per day, on the guild:sticker:delete:daily::guild_id bucket.