---
title: "Get all sensors"
method: POST
path: "/v1/sensors/list"
tags: ["Sensors"]
---

# Get all sensors

`POST /v1/sensors/list`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/v1/sensors/list`
- Auth: HTTP bearer

> 🚧 This endpoint is still on our legacy API.

Get sensor objects. This method returns a list of the sensor objects in the Samsara Cloud and information about them. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Write Sensors** under the Equipment category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Response `200`

List of sensor objects.

- InlineResponse2009
  - `sensors` V1Sensor[]
    - `activatedAtMs` integer: Sensor activation time in Unix milliseconds. Null if the sensor has no monitor.
    - `healthStatus` string: Current sensor health status.
    - `id` integer, required: ID of the sensor.
    - `lastTransmissionAtMs` integer: Last sensor transmission time in Unix milliseconds. Null when the sensor is connected or has never connected.
    - `macAddress` string: MAC address of the sensor.
    - `name` string: Name of the sensor.
    - `sensorType` string: Product type of the sensor.

## Other responses

- `default`: Unexpected error.

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
