Get current user
/api/auth/meWho the session belongs to. The SPA calls this on load to decide what to show: the sign-in form, the link-your-VRChat-account page, or the app. Reachable before the VRChat link is done, because it is how the SPA finds out the link is not done.
Called with an API key, apiKey names the key and lists what it may do right now, which is what every request with it is checked against: its own permissions, never more than the account holds. permissionNames beside it are the account's. Null for a session.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/api/auth/me"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "permissions": 0, "permissionNames": [ "string" ], "roles": [ "string" ], "vrChatLinked": true, "vrChatUserId": null, "vrChatDisplayName": null, "email": null, "discordUserId": null, "discordUsername": null, "discordProven": true, "discordWorksUntil": null, "chatOn": true, "rank": null, "briefsOn": false, "apiKey": null, "getsEventInvites": true, "pinnedPages": null}End the session POST
End the current session.
Get my automatic roles GET
The automatic role rules that apply to the signed-in account: the whole moderator team, or the Discord or VRChat roles the rule names. Each lists whether the account holds the role now and, for every condition the rule switches on, whether it is met and the numbers behind it. Empty when no rule applies.