Who is at the join gate
/api/discord/gateThe Discord join gate's mode, whether new joiners are held, and everybody waiting at it, oldest joiner first (at most 200). linked and eighteenPlus need See profiles and are null without it. removedAt is the earliest somebody can be removed if nothing changes, never sooner than the warning window after their warning reached them, and null in Watch only or when removal is Never; wouldRemoveAt is when Watch only would have removed them.
Needs the ViewMembers 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
curl -X GET "https://example.com/api/discord/gate"{ "mode": "string", "heldSince": null, "pauseInvites": true, "needsLink": true, "needsEighteenPlus": true, "removeAfterMinutes": null, "waiting": [ { "discordUserId": "string", "username": "string", "displayName": null, "avatarUrl": null, "joinedAt": "2019-08-24T14:15:22Z", "agreed": true, "linked": null, "eighteenPlus": null, "minutesCounted": 0, "warnedAt": null, "removedAt": null, "wouldRemoveAt": null, "problem": null } ]}Time out on Discord POST
Time one member of the Discord server out for `minutes` (1 to 40320, which is 28 days); a member already timed out gets the new length. The address names their Discord id; `reason` goes to Discord's audit log with your account's name. One request, never retried. Once Discord accepts, the audit log records who asked. Never the bot's own account, the server's owner or a Discord account linked to a Modbot staff account: those answer 403 `refused`. Needs the `DiscordTimeOut` permission.
Let somebody in at the join gate POST
Give one person waiting at the join gate the member role now, whatever steps they have left. The address names their Discord id. 404 when they are not at the gate. Needs the `ManageJoinGate` permission.