---
title: "Create a Thermostat Daily Program"
method: POST
path: "/thermostats/daily_programs/create"
tags: ["/thermostats"]
---

# Create a Thermostat Daily Program

`POST /thermostats/daily_programs/create`

Creates a new thermostat daily program. A daily program consists of a set of periods, where each period includes a start time and the key of a configured climate preset. Once you have defined a daily program, you can assign it to one or more days within a weekly program.

## Request body

- object
  - `device_id` string, uuid, required — ID of the thermostat device for which you want to create a daily program.
  - `name` string, required — Name of the thermostat daily program.
  - `periods` object[], required — Array of thermostat daily program periods.
    - `climate_preset_key` string, required — Key of the [climate preset](/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
    - `starts_at_time` string, required — Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.

## Response `200`

OK

- object
  - `thermostat_daily_program` ThermostatDailyProgram, required — Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time. See the [thermostat_daily_program object](/api/thermostats/daily_programs/object).
    - `created_at` string, date-time, required — Date and time at which the thermostat daily program was created.
    - `device_id` string, uuid, required — ID of the thermostat device on which the thermostat daily program is configured.
    - `name` string, nullable, required — User-friendly name to identify the thermostat daily program.
    - `periods` object[], required — Array of thermostat daily program periods.
      - `climate_preset_key` string, required — Key of the [climate preset](/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
      - `starts_at_time` string, required — Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    - `thermostat_daily_program_id` string, uuid, required — ID of the thermostat daily program.
    - `workspace_id` string, uuid, required — ID of the workspace that contains the thermostat daily program.

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