Get or stop event invites
PUT
/api/auth/event-invitesWhether an event that names you as its host or staff invites you when its instance opens. On for a new account.
Authorization
session modbot.session<token>
The web app's session, set by POST /api/auth/login.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PUT "https://example.com/api/auth/event-invites" \ -H "Content-Type: application/json" \ -d '{ "getsEventInvites": true }'{ "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}Set your contact details PUT
Set the email address a reset link can reach you at.
Set your pinned pages PUT
The pages pinned in your menu, first pinned first. Page names are the app's own; one it does not know, or one you may not open, is skipped when they are shown. Until you set them, the menu shows its default pins.