List all employee time entries
team:time-tracking.readhttps://api.holded.com/api/v2/employee-timesReturns a paginated list of all employee time tracking entries for the account. Results are cursor-paginated: the response includes a `cursor` value and a `has_more` boolean. Pass the `cursor` to the next request to fetch the following page. Default page size is 50, configurable up to 200.
Parameters
Query parameters
stringoptionalOpaque cursor for pagination. Use the value returned in the previous response to fetch the next page.
integeroptional= 50Maximum number of items to return
Request
import requests
url = "https://api.holded.com/api/v2/employee-times?cursor=page:2&limit=50"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"employee_id": "507f1f77bcf86cd799439012",
"employee_name": "string",
"date": "2024-01-15T10:30:00Z",
"start_at": "2024-01-15T10:30:00Z",
"end_at": "2024-01-15T10:30:00Z",
"duration": 0,
"status": "string",
"approved": false,
"approved_by": "string",
"approved_at": "2024-01-15T10:30:00Z"
}
],
"has_more": false,
"cursor": "string"
}Success responses
200List of employee time entriesapplication/jsonUnique identifier
Employee ID
Employee display name
Date of the time entry in ISO 8601
Start time in ISO 8601
End time in ISO 8601
Duration in seconds
Tracker status (running, done)
Whether the entry is approved
User ID who approved
Approval date in ISO 8601
Whether there are more items on the next page
Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json