v1

latestOpenAPI 3.1.02026-07-24172151607.6 KB
Time Tracking (Legacy)

Get tracked time

Note: This is a legacy time tracking endpoint. We recommend using the Time Tracking API endpoints to manage time entries.

get/v2/task/{task_id}/time

Path parameters

task_idstring required
Example:9hv

Query parameters

custom_task_idsboolean
Example:true

If you want to reference a task by it's custom task id, this value must be true.

team_idnumber
Example:123

When the custom_task_ids parameter is set to true, the Workspace ID must be provided using the team_id parameter.
For example: custom_task_ids=true&team_id=123.

Headers

Content-Type'application/json' required
Example:application/json

Response

Example response

{
  "data": [
    {
      "user": {
        "id": 1,
        "username": "John Doe",
        "email": "johndoe@gmail.com",
        "color": "#795548",
        "initials": "JD",
        "profilePicture": null
      },
      "time": 1000000,
      "intervals": [
        {
          "id": "318",
          "start": null,
          "end": null,
          "time": "1000000",
          "source": "chrome",
          "date_added": "1569983937761"
        }
      ]
    }
  ]
}