---
search:
  tags:
    - Chat timers
    - POST
seo:
  description: >-
    A new timer posts for the first time one interval from creation, not
    immediately.… Reference for the POST /timers endpoint in the TipPage
    Developer API.
sidebar:
  label: Create a timer
  badge: POST
title: Create a timer
type: openapi-operation
---
A new timer posts for the first time one interval from creation, not immediately. Messages can't start with `/` or `!`, and support the same template variables as custom commands minus the argument ones (`{channel}`, `{pick:a|b|c}`, `{random:1-100}`, `{list:name}`, `{uptime}`, `{ai:...}`, ... - see https://docs.tippage.com/chat-bot/variables). Max 20 timers. Requires `timers:manage`.

`POST /timers`

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

- `name` (string, required)
- `message` (string, required) — The template. Can't start with \`/\` or \`!\`. Its fixed wording (everything outside \`{variables}\`) must fit in one 500-character chat message; the rendered chat line is cut to 500.
- `interval_minutes` (integer, required)
- `interval_max_minutes` (integer | null) — Omit or \`null\` for a fixed cadence.
- `min_chat_lines` (integer)
- `live_only` (boolean)
- `platforms` (string[]) — Which chat(s) the timer posts in. 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",
    "kick"
  ],
  "enabled": true
}
```

**Responses**

- `201` — Created.
- `400` — Invalid fields (\`invalid\_timer\`) or timer limit reached (\`limit\_reached\`).
- `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\`).
- `429` — Rate limit exceeded - check the \`RateLimit-\*\` headers.

Response example, 201:

```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"
  }
}
```
