Modbot Docs
APIAPI referenceDiscord

Get Discord server

GET/api/discord/server

The Discord server in settings as its own server profile shows it: name, icon and banner, the day it was made (read from its id), Discord's member count from the newest reading, how many members Discord counts as online, and its boosts and boost level. All but the online count is what the bot last stored. The online count is asked of Discord and kept five minutes, and is null when the bot is not connected. Every field is null when no server is set.

Needs the ViewMembers permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/discord/server"
{  "guildId": null,  "name": null,  "iconUrl": null,  "bannerUrl": null,  "createdAt": null,  "members": null,  "online": null,  "boostCount": null,  "boostLevel": null}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.