---
title: "Set a Temperature Threshold"
method: POST
path: "/thermostats/set_temperature_threshold"
tags: ["/thermostats"]
---

# Set a Temperature Threshold

`POST /thermostats/set_temperature_threshold`

Sets a [temperature threshold](/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) for a specified thermostat. Seam emits a `thermostat.temperature_threshold_exceeded` event and adds a warning on a thermostat if it reports a temperature outside the threshold range.

## Request body

- object
  - `device_id` string, uuid, required — ID of the thermostat device for which you want to set a temperature threshold.
  - `lower_limit_celsius` number, float, nullable — Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either `lower_limit` but not both.
  - `lower_limit_fahrenheit` number, float, nullable — Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either `lower_limit` but not both.
  - `upper_limit_celsius` number, float, nullable — Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either `upper_limit` but not both.
  - `upper_limit_fahrenheit` number, float, nullable — Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either `upper_limit` but not both.

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/seam/apis/seam-connect.md) · [All operations](https://skmtc.net/seam/apis/seam-connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seam/seam-connect/versions/00c35395ce12/schema)
