---
title: "Create topic timer"
method: POST
path: "/t/{id}/timer.json"
tags: ["Topics"]
---

# Create topic timer

`POST /t/{id}/timer.json`

## Path parameters

- `id` string, required

## Headers

- `Api-Key` string, required
- `Api-Username` string, required

## Request body

- object
  - `time` string
  - `status_type` string
  - `based_on_last_post` boolean
  - `category_id` integer

## Response `200`

topic updated

- object
  - `success` string
  - `execute_at` string
  - `duration` string, nullable
  - `based_on_last_post` boolean
  - `closed` boolean
  - `category_id` integer, nullable

---

[API](https://skmtc.net/discourse/apis/discourse-api-documentation.md) · [All operations](https://skmtc.net/discourse/apis/discourse-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/discourse/discourse-api-documentation/versions/fb966f5bb63e/schema)
