Create Embed from Base Asset
POST/api/v2/embeds/raw
Create an embed from a base asset. The base asset must be in the .glb file format. The webhooks will be called with the 'embed_from_raw_creation' event to notify the user as soon as the embed is created
Request
- application/json
Body
required
raw_model_id integerrequired
The id of the raw model
name stringrequired
The name of your embed
save_user_theme boolean
Saves the configurator config
config string
The viewer configuration. Must be a valid JSON string
Responses
- 200
- 422
success
- text/plain
- Schema
Schema
string
no glb format
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Raw model is not in the glb file format"
}
Loading...