Track time

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

SecurityAuthorization Token
Request
path Parameters
task_id
required
string
query Parameters
custom_task_ids
boolean

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

team_id
number <double>

Only used when the custom_task_ids parameter is set to true.

For example: custom_task_ids=true&team_id=123.

Request Body schema: application/json
required

Include the total time or the start time and end time.

The total time is in milliseconds and "start" and "end" values are Unix time in milliseconds.

start
required
integer <int64>
end
required
integer <int64>
time
required
integer <int32>
Responses
200
post/v2/task/{task_id}/time
Request samples
application/json
{
  • "start": 1567780450202,
  • "end": 1508369194377,
  • "time": 8640000
}
Response samples
application/json
{
  • "id": "123"
}