v6 documentation is incomplete, want to contribute?

Verify 2FA email code

Finishes the login sequence with an 2FA email code.

Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.

POST
/auth/twofactorauth/emailotp/verify
auth<token>

Auth Token via Cookie

In: cookie

codestring

Response Body

application/json

application/json

curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/emailotp/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "string"
  }'
{
  "verified": true
}

{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}