Skip to main content
DELETE
/
timers
/
current
Stop Timer
curl --request DELETE \
  --url https://api.everhour.com/timers/current \
  --header 'X-Api-Key: <api-key>'
{
  "status": "active",
  "duration": 16,
  "today": 7200,
  "startedAt": "2018-01-16 12:42:59",
  "userDate": "2018-01-16",
  "comment": "<string>",
  "task": {
    "id": "ev:9876543210",
    "name": "Task Name",
    "projects": [
      "ev:1234567890"
    ],
    "section": 1234,
    "labels": [
      "high",
      "bug"
    ],
    "position": 1,
    "description": "<string>",
    "dueAt": "2018-03-05 16:00:00",
    "status": "open",
    "time": {
      "total": 7200,
      "users": {
        "1304": 3600,
        "1543": 3600
      }
    },
    "estimate": {
      "total": 7200,
      "type": "overall",
      "users": {
        "1304": 3600,
        "1543": 3600
      }
    },
    "attributes": {
      "Client": "Everhour",
      "Priority": "high"
    },
    "metrics": {
      "efforts": 42,
      "expenses": 199
    },
    "unbillable": true
  },
  "user": {
    "id": 1304,
    "name": "User Name",
    "role": "admin",
    "status": "active",
    "headline": "CEO",
    "avatarUrl": "<string>"
  }
}

Authorizations

X-Api-Key
string
header
required

Response

OK

status
enum<string>
required
Available options:
active,
stopped
Example:

"active"

duration
number

Timer duration in seconds

Example:

16

today
number

Today time by user in the timer task

Example:

7200

startedAt
string
Example:

"2018-01-16 12:42:59"

userDate
string
Example:

"2018-01-16"

comment
string
task
object
user
object