---
title: "Create timer"
method: POST
path: "/projects/{project_id}/tasks/{task_id}/timers"
tags: ["task"]
---

# Create timer

`POST /projects/{project_id}/tasks/{task_id}/timers`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/tasks/{task_id}/timers`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Request body

- AddTaskTimer
  - `start_date` string, date-time, required: Date and time when the timer was started.
  - `end_date` string, date-time, required: Date and time when the timer has been stoped.
  - `notes` string: Notes for the timer.

## Response `200`

OK

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
