POST - Create Asset
Note: All body parameters need to be inside a 'data' object, as shown in the example request at the bottom.
Use this endpoint to create a new asset
POST
https://api.readyplayer.me/v1/assets
Request Body
data.name*
string
Minimum length of 1 character
data.type*
enum(string)
Possible values:
outfit
data.gender*
enum(string)
Possible values:
male
,
female
data.modelUrl*
url
Must be a valid url pointing to a GLB file.
data.iconUrl*
url
Must be a valid url pointing to a PNG or JPG file.
data.organizationId*
string
The id of the organization you wish to create the asset under.
\
\
This is directly linked to your permissions, and you will only be able to create assets for organizations which you have permission to.
data.applicationIds
array
List of application ids, this asset should be added to. If empty, this asset is not added to any application.
Example Request Body
Last updated