---
title: "Turn an automation's dial, or change its settings: the fields given replace those set"
method: PATCH
path: "/automations/{automation}"
tags: ["automations"]
---

# Turn an automation's dial, or change its settings: the fields given replace those set

`PATCH /automations/{automation}`

## Request

- Base URL: `https://daybag.io/api/v1`
- URL: `https://daybag.io/api/v1/automations/{automation}`
- Auth: HTTP bearer

## Path parameters

- `automation` 'weather' | 'fill' | 'brief' | 'reminders', required: fill: open or fill sessions · brief: the morning brief · reminders: before and after each booking · weather: not available yet

## Request body

- object
  - `dial` 'off' | 'ask' | 'do_tell' | 'do_quiet': off · ask: propose in the Inbox and wait · do_tell: act, then a card and a push · do_quiet: act and log
  - `settings` object: weather: { offerings: { <offering id>: limits }, default: limits }, where limits are maxWindKn and maxGustKn (knots), maxPrecipProb (%), minTempC and maxTempC (°C), noThunder, and minFlowCfs and maxFlowCfs (river flow) · fill: { full_pct (50–100, default 80): once a class time in the next month is this full, or has people on its waitlist, open one at the same time the next day, and email whoever waits for the full one (waitlist.offer) } · brief: { see_you (default true): offer a note to everyone booked today } · reminders (dial off or do_quiet: sent on their own, outside quiet hours): { before_24h, before_2h, after_6h (needs the org's review_url), before_24h_reply_id (a saved reply sent the day before; null = ours), unpaid_hold (default false): bookings_nudge for a guest whose hold lapsed unpaid at Checkout, in an org that takes payment at booking }

## Response `200`

Success

- object
  - `automation` 'weather' | 'fill' | 'brief' | 'reminders', required: fill: open or fill sessions · brief: the morning brief · reminders: before and after each booking · weather: not available yet
  - `dial` 'off' | 'ask' | 'do_tell' | 'do_quiet', required: off · ask: propose in the Inbox and wait · do_tell: act, then a card and a push · do_quiet: act and log
  - `settings` object, required: weather: { offerings: { <offering id>: limits }, default: limits }, where limits are maxWindKn and maxGustKn (knots), maxPrecipProb (%), minTempC and maxTempC (°C), noThunder, and minFlowCfs and maxFlowCfs (river flow) · fill: { full_pct (50–100, default 80): once a class time in the next month is this full, or has people on its waitlist, open one at the same time the next day, and email whoever waits for the full one (waitlist.offer) } · brief: { see_you (default true): offer a note to everyone booked today } · reminders (dial off or do_quiet: sent on their own, outside quiet hours): { before_24h, before_2h, after_6h (needs the org's review_url), before_24h_reply_id (a saved reply sent the day before; null = ours), unpaid_hold (default false): bookings_nudge for a guest whose hold lapsed unpaid at Checkout, in an org that takes payment at booking }
  - `updated_at` string, nullable, required: ISO 8601 timestamp (UTC)

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/daybag/apis/daybooked-io-api.md) · [All operations](https://skmtc.dev/daybag/apis/daybooked-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/daybag/apis/daybooked-io-api/revisions/1f576dead370?raw)
