Skip to main content

Provisioning

Provisioning is a process of adding devices to the Enapter Platform.

Provision Standalone Device

POST provisioning/standalone

Adds a Enapter Standalone device to the Enapter Platform.

Request

$ curl -X POST \
http://api.enapter.com/v3/provisioning/standalone \
-H 'X-Enapter-Auth-Token: {ACCESS_TOKEN}' \
-d '{
"site_id": "sitebba0-79f2-4e9e-a6f0-69a310ab110b",
"name": "My Device"
}'
site_idstring#

ID of the site.

namestring#

Device name.

Response

{
"device_id": "standba0-79f2-4e9e-a6f0-69a310ab110b",
"slug": "my-device"
}
device_idstring#

Device ID.

slugstring#

Device's slug.

Provision Lua Device

POST provisioning/lua_device

Adds a Lua device that implements integration with third-party devices using Lua scripts.

Request

$ curl -X POST \
http://api.enapter.com/v3/provisioning/standalone \
-H 'X-Enapter-Auth-Token: {ACCESS_TOKEN}' \
-d '{
"runtime_id": "ucmbbba0-79f2-4e9e-a6f0-69a310ab110b",
"blueprint_id": "bluepri1-50n3-4t9d-e6v0-69i310cb110e",
"name": "Gas sensor",
"slug": "gas-sensor-1"
}'
runtime_idstring#

Runtime device ID.

blueprint_idstring#

Device blueprint ID.

namestring#

Device name.

slugstring#

Device slug.

Response

{
"device_id": "devicea0-45f2-4e9e-a6f0-69a310ab110b",
"slug": "gas-sensor-1"
}
device_idstring#

Device ID.

slugstring#

Device's slug.

All Rights Reserved © 2025 Enapter AG.