Skip to content
TEBHOS API

Guild boosts

A boost puts one of an account’s boost slots on a guild. The guild’s level follows its boost count: level 1 at 2 boosts, level 2 at 7 and level 3 at 14. Each level adds its guild features to the earlier ones and raises the guild limits in its limit rule (boost_level_1 to boost_level_3). The level and count arrive as premium_tier and premium_subscription_count on the guild and in GUILD_UPDATE.

Every route here returns GUILD_BOOSTS_DISABLED while the instance switch (admin instance config guild_boosts.enabled) is off, except taking a boost off. Boosts already on a guild stay while it is off.

LevelBoostsFeatures
12BOOST_LEVEL_1, ANIMATED_ICON, AUDIO_BITRATE_128_KBPS, MORE_EMOJI
27BOOST_LEVEL_2, AUDIO_BITRATE_256_KBPS, MORE_STICKERS
314BOOST_LEVEL_3, ANIMATED_BANNER, AUDIO_BITRATE_384_KBPS, VANITY_URL, GUILD_TAGS

A lost level holds for 3 days. A custom invite code a level paid for stays reserved but closed for 30 days after VANITY_URL goes. A slot taken off a guild can boost again 7 days after it was put on. A member who leaves, is kicked or banned, or deletes the account stops boosting.

FieldTypeDescription
idstringpremium:<n> for a slot that comes with premium (max_boost_slots, 2 for Pro), shop:<digits> for a bought slot
guild_id?snowflakeThe guild the slot boosts, or null when it is free
boost_id?snowflakeThe boost the slot backs, or null when it is free
assigned_at?ISO8601 timestampWhen the slot was put on its guild
expires_at?ISO8601 timestampWhen a bought slot ends; null for a premium slot
cooldown_until?ISO8601 timestampWhen a free slot can boost again; null when it can boost now
FieldTypeDescription
idsnowflakeThe ID of the boost
guild_idsnowflakeThe boosted guild
userpartial user objectThe member who boosts
created_atISO8601 timestampWhen the boost started
GET/v1/users/@me/boost-slots

Returns the premium slots, then the bought slots that have not ended. A free trial gives no premium slot.

GET/v1/guilds/{guild_id}/boosts

Returns one page of the guild’s boosts, newest first (before, limit 1-100). You need to be a member.

PUT/v1/guilds/{guild_id}/boosts

Body: {"slot_id": "<id>"}. Puts a free slot on the guild. Returns the guild boost. A slot still in its 7 day wait returns GUILD_BOOST_SLOT_COOLDOWN with cooldown_until.

DELETE/v1/guilds/{guild_id}/boosts/{boost_id}

Takes your boost off the guild and frees its slot. Returns 204.

Boosts are sold through Polar: 30 day slots paid once (1-20 per order), or a monthly subscription of 1-100 boosts. Together with the live bought slots, a purchase stays within max_purchased_boost_slots (20 by default), or MAX_PURCHASED_BOOST_SLOTS is returned. Subscriptions open per account with the feature_shop_boost_subscription limit.

GET/v1/polar/boost-offer

{"sales_open", "currency", "one_time_amount_minor", "monthly_amount_minor"}: the price of one boost, set in the admin panel, in the caller’s currency (TRY in Turkey, USD elsewhere). A null amount is not sold to the caller.

POST/v1/polar/checkout/boost

Body: {"billing_mode": "one_time" | "recurring", "quantity", "recurring_consent"?}. A subscription needs recurring_consent (accepted, amount_minor, currency, quantity) matching the current offer, or SHOP_RECURRING_QUOTE_CHANGED is returned; an account with a running boost subscription gets SHOP_RECURRING_NOT_ELIGIBLE. Returns {"url"}, the Polar payment page.

GET/v1/polar/boost-subscription

{"subscription", "max_quantity"}: the caller’s boost subscription (status, quantity, unit and monthly amount, paid_until, next_billed_at, cancel_at and what can be changed), or null.

PATCH/v1/polar/boost-subscription

Body: {"quantity", "charge_now"?}. More boosts are charged at once for the rest of the month; fewer apply from the next renewal and the extra boosts last until then. A refused change returns SHOP_SUBSCRIPTION_CHANGE_REFUSED.

POST/v1/polar/boost-subscription/preview

Body: {"quantity"}. What the change would charge now (an estimate; Polar prorates by the second) and every month after. Nothing changes.

POST/v1/polar/boost-subscription/cancel

Cancels at the end of the paid period. /reactivate takes the cancellation back and /payment-method returns a Polar customer portal page.