Time Tracking
Create a time entry
Changed onCreate a time entry.
Note: A time entry that has a negative duration means that timer is currently running for that user.
post/v2/team/{team_Id}/time_entries
Request
- Base URLhttps://api.clickup.com/api
- URLhttps://api.clickup.com/api/v2/team/{team_Id}/time_entries
- AuthAPI key in header Authorization
Path parameters
team_Idnumber required
Example:123
Workspace ID
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
Example request
{
"description": "from api",
"tags": [
{
"name": "name of tag",
"tag_bg": "#BF55EC",
"tag_fg": "#FFFFFF"
}
],
"start": 1595282645000,
"end": 1595282660000,
"billable": true,
"duration": 50000,
"assignee": 1,
"tid": "task_id"
}Response
Example response
{
"description": "from api",
"tags": [
{
"name": "name of tag",
"tag_bg": "#BF55EC",
"tag_fg": "#BF55EC"
}
],
"start": 1595282645000,
"billable": true,
"duration": 50000,
"assignee": 1,
"tid": "task_id"
}Changes
- breaking
the
/response's property type changed from no type toobjectfor status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking