Set 18+ flag
/api/vrchat-users/age-verifiedThe only way the flag is ever cleared: a sync sets it and never clears it, because VRChat users can hide their verification again and hidden is not unverified. Recorded as a fact naming the account that made the change and carrying the reason given. Setting it again to the value it already has changes nothing and records nothing.
Needs the EditAgeVerification permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Also accepted as id.
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
curl -X PUT "https://example.com/api/vrchat-users/age-verified?vrchatUserId=string" \ -H "Content-Type: application/json" \ -d '{ "verified": true }'{ "userId": "string", "known": true, "displayName": null, "plainName": null, "bio": null, "status": null, "statusDescription": null, "pronouns": null, "avatarImageUrl": null, "avatarThumbnailUrl": null, "profilePictureUrl": null, "iconUrl": null, "bannerUrl": null, "representedGroup": null, "dateJoined": null, "tags": [ "string" ], "trustRank": null, "lastPlatform": null, "ageVerificationStatusLastSeen": null, "ageVerifiedLastSeen": null, "eighteenPlus": { "verified": true, "since": null, "source": null, "setByUserId": null, "setByUsername": null }, "firstSeenAt": null, "lastSeenAt": null, "lastRefreshedAt": null, "stale": true, "staleAfterSeconds": 0.1, "refreshError": null, "refreshErrorAt": null, "notFoundAt": null, "refresh": { "pending": true, "reason": null, "requestedAt": null, "inProgress": true, "blocked": null }, "now": "2019-08-24T14:15:22Z"}Refresh a profile POST
Queues one request at the 'opened in Modbot' tier, behind only people seen in an instance right now. Answers immediately; the refresh happens on the users lane at its own pace. A profile fetched within the fresh-enough gap is not queued again, so a screen may call this on every open without spending the lane. Needs the `ViewProfile` permission.
Run the 18+ check POST
The 18+ check, as `/ageverified` does it in a ticket: sets the flag, gives and takes the roles the server chose (the Discord ones go to whoever is linked to this VRChat account), and logs the method, the date and the checker, nothing else. `method` is `badge` or `photo`. A role that could not be changed is a line in `lines`; the flag stays set. Needs the `EditAgeVerification` permission.