> ## 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.

# Get multiple Sensors

> Retrieve multiple Sensor records by their Ids in a single request.

Fetch several Sensor records in a single request by passing their Ids as a comma-separated list enclosed in square brackets.

## Authentication

<Note>
  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-Read`** role.
</Note>

## Query Parameters

<ParamField query="id" type="integer[]" required>
  A comma-separated list of Sensor Ids enclosed in square brackets, e.g. `[123,456,789]`.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/sys/sensors/?id=[87654321,87654322,87654323]" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/sys/sensors/?id=[87654321,87654322,87654323]',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

  const records = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://spaces.nexudus.com/api/sys/sensors/',
      params={
          'id': '[87654321,87654322,87654323]'
      },
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  records = response.json()
  ```
</CodeGroup>

## Response

### 200

Returns an array of Sensor records. Each record has the same structure as the response from the [Get one Sensor](/rest-api/sys/get-sensors-by-id) endpoint.

```json Example Response theme={null}
[
  {
    "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
  }
]
```
