Get Discord sync
GET
/api/discord-syncRole pairs, the sync switches, and what the bot may do in the server.
Needs the ManageDiscordSync permission.
AuthorizationBearer <token>
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-sync"{ "roleSyncOn": true, "banSyncToDiscord": true, "banSyncToVRChat": true, "banSyncFromBots": true, "banCopyAction": "string", "botCanBanMembers": true, "botCanRemoveMembers": true, "botCanManageRoles": true, "rolesRanAt": null, "rolesProblem": null, "bansReadAt": null, "bansProblem": null, "pairs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "vrChatRoleId": "string", "vrChatRoleName": null, "discordRoleId": "string", "discordRoleName": null, "decides": "string", "enabled": true, "botCanAssign": true, "rank": null, "problem": null } ], "groupRoles": [ { "id": "string", "name": "string" } ]}Post a role menu POST
Post the role menu in its channel, or rewrite its message when it is already up. Needs the Discord bot to be connected and to send messages in the channel. Needs the `ManageSettings` permission.
Update Discord sync PUT
Save the sync switches. Needs the `ManageDiscordSync` permission.