What share of members have linked
/api/discord/account-linksHow many people in the VRChat group have a Discord account linked, how many in the Discord server have a VRChat account linked, and the state of the one-time link reminder. Counts only; nobody is named.
Needs the ViewAnalytics 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/account-links"{ "groupMembers": 0, "groupMembersLinked": 0, "discordMembers": 0, "discordMembersLinked": 0, "linkingSetUp": true, "reminder": { "running": true, "startedAt": null, "waiting": 0, "sent": 0, "notReached": 0, "notConfirmed": 0, "lastSentAt": null, "secondsBetween": 0, "stoppedBecause": null }}Put a role's or a channel's permissions back POST
Puts one role's server-wide permissions, or one channel's permissions for roles, back to what the snapshot has. Needs Restore turned on in Settings, the bot connected and Manage Roles. The body carries the fingerprint from the preview; if the server no longer gives the same change the answer is 409. Settings for single members in a channel are left alone. Recorded in the audit log. Needs the `ManageSettings` permission.
Start the link reminder POST
Start sending the one-time reminder to link a VRChat account to the Discord members who were in the server just now and have not linked. One direct message goes out every 30 seconds, and nobody is sent it twice, ever. It stops by itself when it has reached them all. Needs account linking set up. Does nothing if it is already running. Needs the `ManageSettings` permission.