Modbot Docs
APIAPI referenceVRChat users

Set 18+ flag

PUT/api/vrchat-users/age-verified

The 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.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Query Parameters

vrchatUserId*string

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"}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.