---
search:
  tags:
    - Chat timers
    - PATCH
seo:
  description: >-
    Any subset of fields - {"enabled": false} benches a timer without deleting…
    Reference for the PATCH /timers/{timerId} endpoint in the TipPage Developer
    API.
sidebar:
  label: Update a timer
  badge: PATCH
title: Update a timer
type: openapi-operation
---
Any subset of fields - `{"enabled": false}` benches a timer without deleting it. Changing `interval_minutes` / `interval_max_minutes` restarts the timer's schedule from now. Requires `timers:manage`.

`PATCH /timers/{timerId}`

**Request body** (`application/json`, required)

- `name` (string)
- `message` (string)
- `interval_minutes` (integer)
- `interval_max_minutes` (integer | null)
- `min_chat_lines` (integer)
- `live_only` (boolean)
- `platforms` (string[]) — At least one.
- `enabled` (boolean)

Request body example:

```json
{
  "name": "string",
  "message": "string",
  "interval_minutes": 1,
  "interval_max_minutes": 1,
  "min_chat_lines": 0,
  "live_only": true,
  "platforms": [
    "twitch"
  ],
  "enabled": true
}
```

**Responses**

- `200` — Updated.
- `400` — Invalid fields.
- `401` — Missing or invalid credential (\`missing\_api\_key\` / \`invalid\_api\_key\`, or \`invalid\_token\` for an expired/revoked OAuth access token).
- `403` — The key lacks the required scope (\`missing\_scope\`).
- `404` — No such resource.
- `429` — Rate limit exceeded - check the \`RateLimit-\*\` headers.

Response example, 200:

```json
{
  "timer": {
    "id": "tmr_1a2b3c4d5e6f7a8b",
    "name": "string",
    "message": "string",
    "interval_minutes": 1,
    "interval_max_minutes": 1,
    "min_chat_lines": 0,
    "live_only": true,
    "platforms": [
      "twitch"
    ],
    "enabled": true,
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}
```
