NoxVR Documentation
Avatars

Upload avatar asset file

Upload the asset file for an avatar.

POST
/avatars/{avatar_id}/assets/{asset_id}/file
AuthorizationBearer <token>

Bearer token authentication for user sessions

In: header

Path Parameters

avatar_idinteger
asset_idinteger

Header Parameters

x-file-hash?string

SHA256 hash of the file for verification

file?file
Formatbinary

Response Body

application/json

application/json

curl -X POST "https://nox.hactazia.fr/api/avatars/0/assets/0/file"
{
  "success": true
}
{
  "error": {
    "message": "You are not logged in.",
    "code": 7,
    "status": 401
  },
  "data": null
}