Authentication

Verify 2FA code

POST
/auth/twofactorauth/totp/verify

Finishes the login sequence with a normal 2FA-generated code for accounts with 2FA-protection enabled.

Authorization

authCookie
auth<token>

Auth Token via Cookie

In: cookie

Request Body

application/json

code*string

Response Body

application/json

application/json

curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/verify" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{
  "enabled": true,
  "verified": true
}
{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}