POST Create NPC object with config and GLB upload
POST /resources/objects/npc: Create NPC object with config and GLB upload. Required scopes: product:write
Are you an LLM? You can read better optimized documentation at /docs/api/endpoints/resource/post-resources-objects-npc.md for this page in Markdown format
POST
Try it out https://api.rooom.com/resources/objects/npcScopes
product:writeBody
multipart/form-data| Name | Type | Description |
|---|---|---|
name | string | Object name |
description | string | Object description |
comment | string | Upload comment |
config | string | NPC configuration as JSON string |
glbFile | file | NPC GLB model file |
Responses
201NPC object created successfully
400Bad request – missing or invalid config, glbFile, or type
401Unauthorized
415Unsupported media type – only GLB uploads are supported
500Internal server error – object creation or GLB upload failed
POST /resources/objects/npc Create NPC object with config and GLB upload Required scopes: product:write name Object name description Object description comment Upload comment config NPC configuration as JSON string glbFile NPC GLB model file