Create New Asset

View as Markdown

Create a single new asset within the hierarchical structure. The asset will be automatically assigned a unique ID and can include children assets for bulk creation. When creating hierarchical assets, ensure parent assets exist or are created first. Supports all asset types: structures, floors, spaces, desks, and sensors.

Authentication

X-Trebellar-Api-Keystring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
assetobjectRequired

Response

Asset and any child assets created successfully with assigned IDs
successboolean
assetobject
Hierarchical asset schema with type discrimination

Errors