Authentication

Get OAuth Redirect Code

GET
/oauth/redirectCode

Generate a short-lived OAuth redirect code for the current session.

Authorization

authCookie
auth<token>

Auth Token via Cookie

In: cookie

Response Body

application/json

application/json

curl -X GET "https://api.vrchat.cloud/api/1/oauth/redirectCode"
{
  "code": "redirect_00000000-0000-0000-0000-000000000000"
}
{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}