---
title: "List Sensors"
method: GET
path: "/thermostats/{thermostatId}/sensors"
tags: ["thermostats"]
---

# List Sensors

`GET /thermostats/{thermostatId}/sensors`

## Request

- Base URL: `https://api.sb.ecobee.com/api/v2`
- URL: `https://api.sb.ecobee.com/api/v2/thermostats/{thermostatId}/sensors`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.sb.ecobee.com/api/v2/token` scopes: `read:thermostat`

Returns a list with sensor data for all sensors on a thermostat

## Response `200`

Success

- ThermostatSensors
  - `status` 'success'
  - `data` object
    - `id` string: The unique identifier for a thermostat. The ID will match the serial number on the physical thermostat.
    - `items` Sensor[]
      - `capability` SensorCapability[]
        - `type` string
        - `value` string
      - `code` string
      - `id` string
      - `isInUse` boolean
      - `name` string
      - `type` string

## Other responses

- `401`: Not authenticated
- `403`: Not authorized
- `404`: Not found
- `422`: Validation Failed
- `429`: Too many requests
- `500`: Internal server error
- `default`: Unexpected error

---

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