v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Task Timer

Start timer for a project task

Starts a new timer for the given task ID inside a specific project. Used to track task duration.

post/v1/time-track/projects/{projectId}/tasks/{taskId}/start

Path parameters

projectIdinteger required
Example:501

Project ID containing the task

taskIdinteger required
Example:101

Task ID for which the timer is to be started

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Request body

billingTypeboolean required

Whether the timer is billable.

notesstring

Optional notes about the timer.

Example request

{
  "billingType": true,
  "notes": "Worked on bug fixing."
}

Response

Timer started successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}