Performs Task Timer actions

POST {{baseUrl}}/api/v1/tasks/:task_id/timer?action=<String>

This API performs timer-related actions, such as START, STOP, PAUSE and RESUME

OAuth Scope

  • Desk.activities.UPDATE
  • Desk.activities.tasks.UPDATE
  • Desk.tasks.UPDATE

Request Params

KeyDatatypeRequiredDescription
actionstringAction of the timer.Supported actions are START, STOP, PAUSE and RESUME

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;hours&quot;:0,&quot;seconds&quot;:0,&quot;minutes&quot;:0,&quot;state&quot;:&quot;RUNNING&quot;}