Skip to main content
POST
Create time entry

Authorizations

Authorization
string
header
required

API key or session token (Bearer)

Body

application/json
taskId
string
required
startTime
string<date-time>
required
Example:

"2026-01-31T09:00:00Z"

endTime
string<date-time>

Omit to start an open-ended entry that is still running.

Example:

"2026-01-31T09:00:00Z"

description
string

Response

The created time entry

id
string
required
taskId
string
required
userId
string | null
required

Null once the user who logged the time has been removed.

description
string | null
required
startTime
string<date-time>
required
endTime
string<date-time> | null
required

Null while the timer is still running.

duration
number | null
required

Elapsed seconds, filled in once the entry has an endTime.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required