Pause invites
/api/discord/gate/pause-invitesPause the Discord server's invites for 24 hours, the most Discord allows. Needs the gate to be on, Allow pausing invites, and Manage Server for the bot.
Needs the ManageJoinGate permission.
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
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/discord/gate/pause-invites"{ "done": true}Lift the hold POST
Let everybody who has done the steps in on the next pass. Needs the `ManageJoinGate` permission.
List invites and the joins each brought GET
The server's invites with their names and how many people joined through each, and the joins per source, per day, for the last `days` days (1 to 365, default 30). Invites with the same name are one source; the vanity link is its own; joins Modbot could not trace are Unknown. `trackingOn` is false while invite tracking is off. For somebody who may change settings it first reads the invites from Discord, which needs Manage Server, and says in `readError` when that failed. Needs the `ViewAnalytics` permission.