v1

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

Track time

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

post/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.

Request body

startinteger required
endinteger required
timeinteger required

Example request

{
  "start": 1567780450202,
  "end": 1508369194377,
  "time": 8640000
}

Response

idstring required

Example response

{
  "id": "123"
}