Authentication

Enable time-based 2FA codes

POST
/auth/twofactorauth/totp/pending

Begins the sequence for enabling time-based 2FA.

Authorization

authCookie
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
  }
}