Get time entries for a user on a workspace
Changed onRequest
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/user/{userId}/time-entries
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
Represents a workspace identifier across the system.
Represents a user identifier across the system.
Query parameters
Represents a term for searching time entries by description.
Represents a start date in the yyyy-MM-ddThh:mm:ssZ format.
Represents an end date in the yyyy-MM-ddThh:mm:ssZ format.
If provided, you'll get a filtered list of time entries that matches the provided string in their project id.
If provided, you'll get a filtered list of time entries that matches the provided string in their task id.
If provided, you'll get a filtered list of time entries that matches the provided string(s) in their tag id(s).
[ "5e4117fe8c625f38930d57b7", "7e4117fe8c625f38930d57b8" ]
Flag to set whether to only get time entries which have a project.
Flag to set whether to only get time entries which have tasks.
Flag to set whether to include additional information on time entries or not.
Page number.
Page size.
Flag to set whether to filter only in progress time entries.
Valid yyyy-MM-ddThh:mm:ssZ format date. If provided, filters results within the week before the datetime provided and only those entries with assigned project or task.
Represents time view mode used to display time entries.
Response
OK
Example response
[
{
"costRate": {
"amount": 10500,
"currency": "USD"
},
"customFieldValues": [
{
"customFieldId": "5e4117fe8c625f38930d57b7",
"name": "TIN",
"timeEntryId": "64c777ddd3fcab07cfbb210c",
"type": "WORKSPACE"
}
],
"description": "This is a sample time entry description.",
"hourlyRate": {
"amount": 10500,
"currency": "USD"
},
"id": "64c777ddd3fcab07cfbb210c",
"kioskId": "94c777ddd3fcab07cfbb210d",
"projectId": "25b687e29ae1f428e7ebe123",
"tagIds": [
"321r77ddd3fcab07cfbb567y",
"44x777ddd3fcab07cfbb88f"
],
"taskId": "54m377ddd3fcab07cfbb432w",
"timeInterval": {
"duration": "8000",
"end": "2021-01-01T00:00:00Z",
"start": "2020-01-01T00:00:00Z",
"timeZone": "America/New_York"
},
"type": "BREAK",
"userId": "5a0ab5acb07987125438b60f",
"workspaceId": "64a687e29ae1f428e7ebe303"
}
]Changes
- info
added the new optional
queryrequest parametertimeViewMode - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
for the
queryrequest parameterdescription, default valuewas added - breaking
for the
queryrequest parameterend, default valuewas added - breaking
for the
queryrequest parameterget-week-before, default valuewas added - breaking
for the
queryrequest parameterin-progress, default valuewas added - breaking
for the
queryrequest parameterproject, default valuewas added - breaking
for the
queryrequest parameterstart, default valuewas added - breaking
for the
queryrequest parametertask, default valuewas added - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- breaking