Skip to main content
GET
/
api
/
sys
/
sensors
Search Sensors
curl --request GET \
  --url https://spaces.nexudus.com/api/sys/sensors \
  --header 'Authorization: Basic <encoded-value>'
{
  "Records": [
    {}
  ],
  "CurrentPage": 123,
  "CurrentPageSize": 123,
  "CurrentOrderField": "<string>",
  "CurrentSortDirection": 123,
  "FirstItem": 123,
  "LastItem": 123,
  "TotalItems": 123,
  "TotalPages": 123,
  "HasNextPage": true,
  "HasPreviousPage": true
}
A Sensor represents a physical IoT sensor deployed in a location for monitoring environmental conditions or occupancy. Sensors can detect presence, count people, measure temperature, humidity, noise, CO2 levels, and other metrics.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the Sensor-List role.

Enums

ValueName
1PresenceDetection
2PeopleCounter
3Temperature
4Humidity
5Light
6Noise
7CO2
8VolatileOrganicCompounds
9HarmfulParticulates
10Touch
11Water
12AtmosphericPressure
13Power
14OpenClosed
99Other
ValueName
1Polling
2Endpoint
3DisruptiveTechnologies
4Pressac

Query Parameters

Pagination & Sorting

page
integer
default:"1"
The page number to retrieve.
size
integer
default:"25"
The number of records per page.
orderBy
string
The property name to sort results by (e.g. Name, CreatedOn).
dir
integer
Sort direction. 0 for ascending, 1 for descending.

Filters

Sensor_Business
integer
Filter by iD of the business linked to this record.
Sensor_CannedResponse
integer
Filter by iD of the canned response linked to this record.
Sensor_CannedResponse_Name
string
Filter by display name of the linked canned response (read-only).
Sensor_Name
string
Filter by the name value for this sensor.
Sensor_Reference
string
Filter by the reference value for this sensor.
Sensor_Unit
string
Filter by the unit value for this sensor.
Sensor_Active
boolean
Filter by whether this sensor is currently active.
Sensor_SensorType
integer
Filter by the sensor type value for this sensor.
Sensor_DataStrategy
integer
Filter by the data strategy value for this sensor.
Sensor_PayloadDataPath
string
Filter by the payload data path value for this sensor.
Sensor_ActionTriggerFunction
string
Filter by the action trigger function value for this sensor.
Sensor_ValueFunction
string
Filter by the value function value for this sensor.
Sensor_ActionSendEmailAlert
boolean
Filter by whether action send email alert is enabled.
Sensor_AlertEmailAddress
string
Filter by the alert email address value for this sensor.
Sensor_WebhookUrl
string
Filter by the webhook url value for this sensor.
Sensor_ActionUpdateDeskAvailability
boolean
Filter by whether action update desk availability is enabled.
Sensor_ActionUpdateResourceAvailability
boolean
Filter by whether action update resource availability is enabled.
Sensor_ActionUpdateBookingOccupancy
boolean
Filter by whether action update booking occupancy is enabled.
Sensor_ActionSendCustomerEmailAlert
boolean
Filter by whether action send customer email alert is enabled.
Sensor_ActionBookingStart
boolean
Filter by whether action booking start is enabled.
Sensor_ActionBookingTerminate
boolean
Filter by whether action booking terminate is enabled.
Sensor_ActionCheckInOrOut
boolean
Filter by whether action check in or out is enabled.
Sensor_ActionMakeHttpRequest
boolean
Filter by whether action make http request is enabled.
Sensor_ShowInNowDashboard
boolean
Filter by whether show in now dashboard is enabled.
Sensor_ShowInPortal
boolean
Filter by whether show in portal is enabled.
Sensor_SharedSecret
string
Filter by the shared secret value for this sensor.
Sensor_ApiKey
string
Filter by the api key value for this sensor.
Sensor_Username
string
Filter by the username value for this sensor.
Sensor_Password
string
Filter by the password value for this sensor.
Sensor_ReceivedDataOn
string
Filter by date/time value for received data on.
Sensor_LastReceivedValue
string
Filter by the last received value value for this sensor.
Sensor_LastValueTriggeredAction
boolean
Filter by whether last value triggered action is enabled.
Sensor_BatteryLevel
integer
Filter by the battery level value for this sensor.
Sensor_NetworkSignalStrength
integer
Filter by the network signal strength value for this sensor.

Range Filters

from_Sensor_ReceivedDataOn
string
Filter by date/time value for received data on greater than or equal to this value. Format: YYYY-MM-DDTHH:mm.
to_Sensor_ReceivedDataOn
string
Filter by date/time value for received data on less than or equal to this value. Format: YYYY-MM-DDTHH:mm.
from_Sensor_BatteryLevel
integer
Filter by the battery level value for this sensor greater than or equal to this value.
to_Sensor_BatteryLevel
integer
Filter by the battery level value for this sensor less than or equal to this value.
from_Sensor_NetworkSignalStrength
integer
Filter by the network signal strength value for this sensor greater than or equal to this value.
to_Sensor_NetworkSignalStrength
integer
Filter by the network signal strength value for this sensor less than or equal to this value.
from_Sensor_CreatedOn
string
Filter records created on or after this date. Format: YYYY-MM-DDTHH:mm.
to_Sensor_CreatedOn
string
Filter records created on or before this date. Format: YYYY-MM-DDTHH:mm.
from_Sensor_UpdatedOn
string
Filter records updated on or after this date. Format: YYYY-MM-DDTHH:mm.
to_Sensor_UpdatedOn
string
Filter records updated on or before this date. Format: YYYY-MM-DDTHH:mm.

Code Examples

Simple listing

curl -X GET \
  "https://spaces.nexudus.com/api/sys/sensors?page=1&size=15&orderBy=Name&dir=0" \
  -H "Authorization: Bearer YOUR_TOKEN"

Filtering by Name

curl -X GET \
  "https://spaces.nexudus.com/api/sys/sensors?Sensor_Name=example-value&orderBy=Name&dir=0" \
  -H "Authorization: Bearer YOUR_TOKEN"

Range filters

curl -X GET \
  "https://spaces.nexudus.com/api/sys/sensors?from_Sensor_UpdatedOn=2025-01-01T00:00&to_Sensor_UpdatedOn=2025-12-31T23:59&orderBy=UpdatedOn&dir=0" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Records
Sensor[]
The list of Sensor records matching the query. See the Get one Sensor endpoint for the full list of properties returned for each record.
CurrentPage
integer
Current page number.
CurrentPageSize
integer
Number of records per page.
CurrentOrderField
string
The field used for sorting.
CurrentSortDirection
integer
The sort direction (0 = ascending, 1 = descending).
FirstItem
integer
Index of the first item on the current page.
LastItem
integer
Index of the last item on the current page.
TotalItems
integer
Total number of matching records across all pages.
TotalPages
integer
Total number of pages.
HasNextPage
boolean
Whether there is a next page of results.
HasPreviousPage
boolean
Whether there is a previous page of results.
Example Response
{
  "Records": [
    {
      "BusinessId": 0,
      "Desks": [],
      "Resources": [],
      "CannedResponseId": null,
      "CannedResponseName": null,
      "Name": "",
      "Reference": "",
      "Unit": null,
      "Active": false,
      "SensorType": 0,
      "DataStrategy": 0,
      "PayloadDataPath": null,
      "ActionTriggerFunction": null,
      "ValueFunction": null,
      "ActionSendEmailAlert": false,
      "AlertEmailAddress": null,
      "WebhookUrl": null,
      "ActionUpdateDeskAvailability": false,
      "ActionUpdateResourceAvailability": false,
      "ActionUpdateBookingOccupancy": false,
      "ActionSendCustomerEmailAlert": false,
      "ActionBookingStart": false,
      "ActionBookingTerminate": false,
      "ActionCheckInOrOut": false,
      "ActionMakeHttpRequest": false,
      "ShowInNowDashboard": false,
      "ShowInPortal": false,
      "SharedSecret": null,
      "ApiKey": null,
      "Username": null,
      "Password": null,
      "ReceivedDataOn": null,
      "LastReceivedValue": null,
      "LastValueTriggeredAction": false,
      "BatteryLevel": null,
      "NetworkSignalStrength": null,
      "Id": 87654321,
      "UpdatedOn": "2025-01-15T10:30:00Z",
      "CreatedOn": "2025-01-10T08:00:00Z",
      "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "UpdatedBy": "admin@example.com",
      "IsNew": false,
      "SystemId": null,
      "ToStringText": "Sensor Example",
      "LocalizationDetails": null,
      "CustomFields": null
    }
  ],
  "CurrentPageSize": 15,
  "CurrentPage": 1,
  "CurrentOrderField": "Name",
  "CurrentSortDirection": 1,
  "FirstItem": 1,
  "HasNextPage": false,
  "HasPreviousPage": false,
  "LastItem": 1,
  "PageNumber": 1,
  "PageSize": 15,
  "TotalItems": 1,
  "TotalPages": 1
}