Make an invite for each name
/api/discord/invites/createMake one invite for each name, to the given channel, with no expiry and no limit on uses, and name each. At most 20 at a time. Needs invite tracking on, and Create Invite in the channel. Answers 200 with what each name came to; a name Discord refused has an error, and missingPermission is set when the permission is why.
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
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/discord/invites/create" \ -H "Content-Type: application/json" \ -d '{ "channelId": "string", "names": null }'{ "made": [ { "name": "string", "code": null, "error": null } ], "error": null, "missingPermission": true}Name an invite PUT
Set what the invite is called, or clear it with a null name. Invites with the same name are one source in the joins report. Past joins through it take the new name. Needs the `ManageSettings` permission.
List server snapshots GET
The saved snapshots of the Discord server's roles and channels, newest first, with the schedule and when the next one is due. Needs the `ViewAnalytics` permission.