Modbot Docs
APIAPI referenceVRChat users

Run the 18+ check

POST/api/vrchat-users/age-check

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.

AuthorizationBearer <token>

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

In: header

Query Parameters

id*string

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 POST "https://example.com/api/vrchat-users/age-check?id=string" \  -H "Content-Type: application/json" \  -d '{    "method": "string"  }'
{  "profile": {    "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"  },  "lines": [    "string"  ]}

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.