Endpoint
Authorization header.See Authentication for details.
Path Parameters
string
required
The Discord snowflake ID of your bot (a 17–20 digit numeric string).Example:
123456789012345678Request Body
At least one of the following fields must be present.integer
The number of servers your bot is currently in. Must be between
0 and 10,000,000.The value you provide cannot differ from your bot’s actual server count by more than the configured maximum difference (at minimum 50, or 10% of the actual count — whichever is larger). Exceeding this threshold returns a 400 error.Example: 1500integer
The number of slash/prefix commands your bot exposes. Must be between
0 and 1,000.Example: 100Code Examples
Responses
200 — Success
boolean
Always
true on a successful update.Error Responses
Tips
Call this endpoint on a scheduled interval (e.g., every hour) rather than reacting to every guild join/leave event. The rate limit is 2 requests per 120 minutes, so a once-per-hour schedule leaves headroom for retries.

