GLPI Rest API V2 (Fork) icon

GLPI Rest API V2 (Fork)

GLPI Rest API Node compatible with GLPI 9.x and above.

Actions34

Assets → Create

AI-generated

Summary

Creates a new asset record in GLPI by sending a JSON payload to the specified asset endpoint.

Inputs

  • itemtype (required) — Type of asset to create (e.g., Computer, Monitor, Software).
  • input — Raw JSON body containing asset fields (e.g., name, status, location). If empty, a default template is used.
  • sendRawBody — When enabled, the JSON provided in 'Input (raw)' is sent as the request body exactly as-is (no wrapper). Default is true.
  • showCredentials — If enabled, outputs configured credentials and skips the API request.

Output shape

The newly created asset record (JSON object).

Returns the full asset object including generated IDs and field values. Errors are returned in the item JSON.

Examples

Example 1: Create a new Computer asset

Set Item Type to 'Computer' and paste a JSON object with required fields like 'name' and 'status' into 'Input (raw)'.

Links

Discussion