Get daily activity
Tracked time and activity levels per day, member, project and task.
GET https://cotlet.dev/api/v1/hubstaff/organizations/{organization_id}/daily-activity
read
Returns data aggregated by day in the organization time zone: tracked seconds, with keyboard, mouse and overall activity. Filter by members, projects or tasks. The range is at most 31 days and starts no earlier than 3 years ago; ask for longer periods in several calls.
Parameters
| Name | Type | Description |
|---|---|---|
| organization_id integer required | integer | Organization ID from list_organizations. |
| start_date date required | date | First day, ISO 8601. |
| stop_date date required | date | Last day, ISO 8601, inclusive. At most 31 days after start_date. |
| user_ids integer[] | integer[] | Only these members. |
| project_ids integer[] | integer[] | Only these projects. |
| task_ids integer[] | integer[] | Only these tasks. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl "https://cotlet.dev/api/v1/hubstaff/organizations/1/daily-activity?start_date=2026-10-01&stop_date=2026-10-01" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("hubstaff", "get_daily_activity", {"organization_id":1,"start_date":"2026-10-01","stop_date":"2026-10-01"}) const result = await cotlet.call('hubstaff', 'get_daily_activity', {"organization_id":1,"start_date":"2026-10-01","stop_date":"2026-10-01"}); cotlet call hubstaff get_daily_activity --data '{"organization_id":1,"start_date":"2026-10-01","stop_date":"2026-10-01"}' Example response
{
"daily_activities": [
{
"date": "2026-10-12",
"user_id": 3011,
"project_id": 90311,
"task_id": 551020,
"tracked": 25200,
"overall": 61
},
{
"date": "2026-10-12",
"user_id": 3012,
"project_id": 90355,
"task_id": 551021,
"tracked": 21600,
"overall": 47
}
],
"next_cursor": null
}