Skip to content
Docs

Create Device

Creates a new device within the specified workspace.

POST /rest/v1/workspaces/{workspace_uuid}/devices
HeaderValue
AuthorizationBearer <YOUR_API_KEY>
Content-Typeapplication/json
ParameterTypeRequiredDescription
workspace_uuidStringYesUnique identifier of the workspace.
{
"name": "Boiler PLC",
"identifier": "BOILER_PLC",
"description": "Main boiler PLC device"
}
FieldTypeRequiredDescription
nameStringYesName of the device (3–50 characters). Must begin with a letter.
identifierStringYesUnique device identifier. Must begin with a letter and contain only letters, numbers, and underscores (_).
descriptionStringYesDescription of the device (3–100 characters).
FieldValidation
nameRequired. Must be between 3 and 50 characters and begin with a letter.
identifierRequired. Must begin with a letter, contain only letters, numbers, and underscores (_), and be unique within the workspace.
descriptionRequired. Must be between 3 and 100 characters.
POST /rest/v1/workspaces/01kxcxpcgvdm1pacpfv1wxqqeh/devices
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json
{
"name": "Boiler PLC",
"identifier": "BOILER_PLC",
"description": "Main boiler PLC device"
}

Status: 201 Created

{
"data": {
"uuid": "01kabcdef123456789xyz",
"name": "Boiler PLC",
"identifier": "BOILER_PLC",
"description": "Main boiler PLC device",
"enabled_transformation": false,
"transformation_script": "return JSON.stringify(payload);",
"created_at": "2026-07-09T08:42:45Z",
"updated_at": "2026-07-09T08:42:45Z"
},
"meta": {
"success": true,
"message": "Device created successfully"
}
}