Modbot Docs

Get VRChat file

GET/api/files/vrchat

Fetches a VRChat file address through Modbot and returns the bytes. VRChat's file addresses need the account's session cookie and redirect to a delivery host, so a browser cannot load one directly. Only addresses on vrchat.cloud are accepted, and on api.vrchat.cloud only paths under /api/1/file/ and /api/1/image/. Only pictures and video are returned, and the answer is cached on disk because a VRChat file address names a version and never changes.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Query Parameters

url?string

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/files/vrchat"
"string"

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.