Update invite tracking settings
/api/settings/discord-invite-trackingTurn invite tracking on or off. While it is on the bot's invite link asks for Manage Server and Create Invite, so a bot added earlier has to be added again from the new link. Turning it on starts the use counts from Discord's own.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/settings/discord-invite-tracking" \ -H "Content-Type: application/json" \ -d '{ "on": true }'{ "on": true}Get invite tracking settings GET
Whether Modbot records which invite each new Discord member used. Needs the `ManageSettings` permission.
Get server snapshot settings GET
How often Modbot saves a snapshot of the Discord server, and whether restoring from one is allowed. Needs the `ManageSettings` permission.