Register Your Device
Overview
This tutorial walks through the 2-Provisioning&Activation Postman collection. By the end, your WEDA Node device will be registered to WEDA Cloud and ready to report telemetry.
Prerequisites
- Completed Get Access Token —
accessTokenis set - Completed Manage Organizations —
org_idis set - Your device's
hwModel(e.g.MIC-710) anddeviceId— available from the WEDA Node startup output
Variables You Set
Unlike the earlier collections, deviceId is not auto-generated — you must set it yourself in
the environment before registering.
| Variable | How it's set | Used by |
|---|---|---|
deviceId | Set manually — the device's MAC address (e.g. cc827f50f406), from WEDA Node startup output | Node Register, Collections 3 (Telemetry) and 5 (Tunnel) |
hwModel | Set manually — the hardware model string (e.g. MIC-710) | Node Register |
dataObjectId | Set manually after inspecting Get device data objects (see Device Data Definitions) | Collection 3 (Telemetry) |
The Node Register request references hwModel and deviceId and auto-composes deviceName as
{{hwModel}}-{{deviceId}}.
Registration Flow
Run these three requests in order to register and activate your device:
- Node Register — creates the device record in WEDA Cloud
- Node Activation — retrieves the auth config needed to connect WEDA Node on the physical device
- Node List Under Org — verify the device status is
Activatedafter WEDA Node connects
Token Refresh is a utility you can run at any point — use it to extend your accessToken without repeating the full SSO flow.
Token Refresh
Refreshes your accessToken using the stored refreshToken, without repeating the full SSO login.
- Script:
accessTokenand all token fields updated in the environment automatically - Result:
201 Created—accessTokenis renewed
The accessToken expires after 2 hours. Run Token Refresh whenever needed rather than re-running the entire 0-WiseSso collection.
Node Register
Registers the device in WEDA Cloud under the current org_id. Set hwModel (e.g. MIC-710) and
deviceId in your environment first — the request body references both and pre-fills deviceName
as {{hwModel}}-{{deviceId}}. deviceName is optional; if omitted entirely, WEDA Core
auto-generates the same {hwModel}-{deviceId} format server-side.
- API: Register Device
- Script:
deviceIdis not auto-generated — you must set it manually in the environment before sending - Result:
201 Created
deviceId is used by Collections 3 and 5. If you register multiple devices, update deviceId in
the environment before switching collections.
Node Activation
Retrieves the connection credentials that the WEDA Node agent needs to connect to WEDA Cloud.
- API: Get Device Auth Info
- Result:
200 OK— response contains the connection credentials; copy to your edge device to complete activation
Query & Management Operations
These requests are independent — run them as needed, in any order.
Node List
Lists all devices you have permission to view across your account.
- API: List Devices
- Result:
200 OK— a paginated list of devices
Node List Under Org
Lists devices registered under the current org_id. Use this to verify a device's status after activation.
- API: List Devices Under Org
- Result:
200 OK— devices scoped to the selected organization
Node Deactivate
Deactivates the device. The device stops reporting telemetry but its record remains in WEDA Cloud.
- API: Update Device Status
- Result:
200 OK
Node Remove
Permanently removes the device record from WEDA Cloud.
- API: Delete Device
- Result:
200 OKor204 No Content
This action is irreversible. All data and configuration associated with the device will be deleted from WEDA Cloud.
Device Data Definitions
These requests live in the collection's DataSource+DataObjects subfolder. After a device is
Activated and syncing, use them to discover what data the device exposes — in particular, to find
the dataObjectId values that the Read Telemetry Data collection needs.
Get device data source definitions
Returns the raw Data Source (sensor) definitions the device reports.
- API: Get Device Data Source Definitions
- Result:
200 OK
Get device data objects
Returns the device's Data Objects (the queryable, named data units). Each item includes its
dataObjectId and name — copy the dataObjectId you want into the environment for use in the
Telemetry collection.
- API: Get Device Data Objects
- Result:
200 OK— a paginated list of Data Objects
Get data object by ID
Returns a single Data Object definition by its dataObjectId.
- API: Get Data Object by ID
- Result:
200 OK
See Data Engine — Data Objects for how Data Sources become queryable Data Objects.
Related
- Read Telemetry Data — next step after device registration
- Device Management — API reference