Authentication

Verify Pending 2FA code

POST
/auth/twofactorauth/totp/pending/verify

Finishes sequence for enabling time-based 2FA.

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/pending/verify" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{
  "enabled": true,
  "verified": true
}
{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}