---
title: "Update a timer"
method: PUT
path: "/v1/time-track/{trackId}"
tags: ["Task Timer"]
---

# Update a timer

`PUT /v1/time-track/{trackId}`

Update billing status, notes, or start time and duration of a timer

## Path parameters

- `trackId` integer, required

## Headers

- `X-Org-Id` integer, required

## Request body

- TimerUpdateRequest — Minimal request payload to update a task timer.
  - `billingType` boolean — Whether the timer is billable.
  - `notes` string — Optional notes about the timer.
  - `hours` integer — Number of hours to set for the timer.
  - `minutes` integer — Number of minutes to set for the timer.
  - `timerData` TimerData, required
    - `startTime` integer, required — Start time of the timer in epoch milliseconds.

## Response `200`

Timer updated successfully

- ApiSuccessResponseTimeTrackerDto — Standard API success response structure
  - `success` boolean — Indicates if the operation was successful
  - `message` string — Message describing the result of the operation
  - `code` integer — HTTP status code of the response
  - `data` TimeTrackerDto
    - `tenantId` integer
    - `trackId` integer
    - `trackerType` string
    - `startTime` string, date-time
    - `endTime` string, date-time
    - `timePeriod` integer
    - `taskId` integer
    - `parentTaskId` integer
    - `title` string
    - `projectId` integer
    - `spaceId` integer
    - `billingType` boolean
    - `notes` string
    - `user` UserMinimalDto
      - `userId` integer
      - `firstName` string
      - `email` string
      - `profilePicURL` string
      - `profilePicColor` string
      - `provider` string
      - `role` OrgRoleDto
        - `orgRoleId` integer
        - `roleName` string
    - `createdTime` string, date-time
    - `when` string, date-time
    - `status` string
  - `timestamp` string, date-time — Timestamp of the response

---

[API](https://skmtc.net/astravue/apis/astravue-api.md) · [All operations](https://skmtc.net/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astravue/astravue-api/revisions/237f5bbd4029/schema)
