v6 documentation is incomplete, want to contribute?

Enable time-based 2FA codes

Begins the sequence for enabling time-based 2FA.

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

POST
/auth/twofactorauth/totp/pending
auth<token>

Auth Token via Cookie

In: cookie

Response Body

application/json

application/json

curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/pending"
{
  "qrCodeDataUrl": "string",
  "secret": "string"
}

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