Skip to main content
GET
/
api
/
public
/
sensors
List Sensors
curl --request GET \
  --url https://spaces.nexudus.com/api/public/sensors \
  --header 'Authorization: Basic <encoded-value>'

Documentation Index

Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt

Use this file to discover all available pages before exploring further.

List Sensors

Returns the list of IoT sensors and their current readings for the current location. Used to display environmental data (temperature, humidity, occupancy) on the dashboard.

Authentication

Requires a valid customer bearer token.

Response

Returns an array of sensor objects with current readings.

Examples

Fetch sensor data

GET /api/public/sensors
Authorization: Bearer {token}

TypeScript Integration

import endpoints from '@/api/endpoints'

const response = await httpClient.get(endpoints.sensors.list)