time_entries

TimeEntries

Creates a new workspace TimeEntry.

post/workspaces/{workspace_id}/time_entries

Request

Path parameters

workspace_idinteger required

Numeric ID of the workspace

Query parameters

metaboolean

Should the response contain data for meta entities

Request body

billableboolean

Whether the time entry is marked as billable, optional, default false

created_withstring

Must be provided when creating a time entry and should identify the service/application used to create it

descriptionstring

Time entry description, optional

durationinteger

Time entry duration. For running entries should be negative, preferable -1

duronlyboolean

Deprecated: Used to create a time entry with a duration but without a stop time. This parameter can be ignored.

pidinteger

Project ID, legacy field

project_idinteger

Project ID, optional

shared_with_user_idsinteger[]

List of user IDs to share this time entry with

startstring

Start time in UTC, required for creation. Format: 2006-01-02T15:04:05Z

start_datestring

If provided during creation, the date part will take precedence over the date part of "start". Format: 2006-11-07

stopstring

Stop time in UTC, can be omitted if it's still running or created with "duration". If "stop" and "duration" are provided, values must be consistent (start + duration == stop)

tag_actionstring

Can be "add" or "delete". Used when updating an existing time entry

tag_idsinteger[]

IDs of tags to add/remove

tagsstring[]

Names of tags to add/remove. If name does not exist as tag, one will be created automatically

task_idinteger

Task ID, optional

tidinteger

Task ID, legacy field

uidinteger

Time Entry creator ID, legacy field

user_idinteger

Time Entry creator ID, if omitted will use the requester user ID

widinteger

Workspace ID, legacy field

workspace_idinteger

Workspace ID, required

Response

A workspace TimeEntry.

atstring

When was last updated

billableboolean

Whether the time entry is marked as billable

client_namestring

Related entities meta fields - if requested

descriptionstring nullable

Time Entry description, null if not provided at creation/update

durationinteger

Time entry duration. For running entries should be negative, preferable -1

duronlyboolean

Used to create a TE with a duration but without a stop time, this field is deprecated for GET endpoints where the value will always be true.

idinteger

Time Entry ID

permissionsstring[]

Permission list

pidinteger

Project ID, legacy field

project_activeboolean
project_colorstring
project_idinteger nullable

Project ID. Can be null if project was not provided or project was later deleted

project_namestring
server_deleted_atstring nullable

When was deleted, null if not deleted

startstring

Start time in UTC

stopstring

Stop time in UTC, can be null if it's still running or created with "duration" and "duronly" fields

tag_idsinteger[]

Tag IDs, null if tags were not provided or were later deleted

tagsstring[]

Tag names, null if tags were not provided or were later deleted

task_idinteger nullable

Task ID. Can be null if task was not provided or project was later deleted

task_namestring
tidinteger

Task ID, legacy field

uidinteger

Time Entry creator ID, legacy field

user_idinteger

Time Entry creator ID

widinteger

Workspace ID, legacy field

workspace_idinteger

Workspace ID

Changes

No recorded changes to this operation across all 1 revision of this API.