Skip to main content

device.unmanaged.converted_to_managed

An unmanaged device was successfully converted to a managed device.
Example webhook payload
{
  "connected_account_custom_metadata": {},
  "connected_account_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2025-01-01T00:00:00.000Z",
  "customer_key": "",
  "device_custom_metadata": {},
  "device_id": "00000000-0000-0000-0000-000000000000",
  "event_id": "00000000-0000-0000-0000-000000000000",
  "event_type": "device.unmanaged.converted_to_managed",
  "occurred_at": "2025-01-01T00:00:00.000Z",
  "workspace_id": "00000000-0000-0000-0000-000000000000"
}
connected_account_custom_metadata
Object
Custom metadata of the connected account, present when connected_account_id is provided.
connected_account_id
String (UUID)
ID of the connected account associated with the event.
created_at
String (ISO 8601)
Date and time at which the event was created.
customer_key
String
The customer key associated with the device, if any.
device_custom_metadata
Object
Custom metadata of the device, present when device_id is provided.
device_id
String (UUID)
ID of the affected device.
event_id
String (UUID)
ID of the event.
event_type
Enum (String)
Value: device.unmanaged.converted_to_managed
occurred_at
String (ISO 8601)
Date and time at which the event occurred.
workspace_id
String (UUID)
ID of the workspace associated with the event.

device.unmanaged.connected

The status of an unmanaged device changed from offline to online. That is, the device.properties.online property changed from false to true.
Example webhook payload
{
  "connected_account_custom_metadata": {},
  "connected_account_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2025-01-01T00:00:00.000Z",
  "customer_key": "",
  "device_custom_metadata": {},
  "device_id": "00000000-0000-0000-0000-000000000000",
  "event_id": "00000000-0000-0000-0000-000000000000",
  "event_type": "device.unmanaged.connected",
  "occurred_at": "2025-01-01T00:00:00.000Z",
  "workspace_id": "00000000-0000-0000-0000-000000000000"
}
connected_account_custom_metadata
Object
Custom metadata of the connected account, present when connected_account_id is provided.
connected_account_id
String (UUID)
ID of the connected account associated with the event.
created_at
String (ISO 8601)
Date and time at which the event was created.
customer_key
String
The customer key associated with the device, if any.
device_custom_metadata
Object
Custom metadata of the device, present when device_id is provided.
device_id
String (UUID)
ID of the affected device.
event_id
String (UUID)
ID of the event.
event_type
Enum (String)
Value: device.unmanaged.connected
occurred_at
String (ISO 8601)
Date and time at which the event occurred.
workspace_id
String (UUID)
ID of the workspace associated with the event.

device.unmanaged.disconnected

The status of an unmanaged device changed from online to offline. That is, the device.properties.online property changed from true to false.
Example webhook payload
{
  "connected_account_custom_metadata": {},
  "connected_account_errors": [],
  "connected_account_id": "00000000-0000-0000-0000-000000000000",
  "connected_account_warnings": [],
  "created_at": "2025-01-01T00:00:00.000Z",
  "customer_key": "",
  "device_custom_metadata": {},
  "device_errors": [],
  "device_id": "00000000-0000-0000-0000-000000000000",
  "device_warnings": [],
  "error_code": "account_disconnected",
  "event_id": "00000000-0000-0000-0000-000000000000",
  "event_type": "device.unmanaged.disconnected",
  "occurred_at": "2025-01-01T00:00:00.000Z",
  "workspace_id": "00000000-0000-0000-0000-000000000000"
}
connected_account_custom_metadata
Object
Custom metadata of the connected account, present when connected_account_id is provided.
connected_account_errors
Array
Errors associated with the connected account.
connected_account_id
String (UUID)
ID of the connected account associated with the event.
connected_account_warnings
Array
Warnings associated with the connected account.
created_at
String (ISO 8601)
Date and time at which the event was created.
customer_key
String
The customer key associated with the device, if any.
device_custom_metadata
Object
Custom metadata of the device, present when device_id is provided.
device_errors
Array
Errors associated with the device.
device_id
String (UUID)
ID of the affected device.
device_warnings
Array
Warnings associated with the device.
error_code
Enum (String)
Error code associated with the disconnection event, if any.Possible values: account_disconnected, hub_disconnected, device_disconnected
event_id
String (UUID)
ID of the event.
event_type
Enum (String)
Value: device.unmanaged.disconnected
occurred_at
String (ISO 8601)
Date and time at which the event occurred.
workspace_id
String (UUID)
ID of the workspace associated with the event.