Read the activity report
Read logged activity for a date range, with totals per type and per user.
GET https://cotlet.dev/api/v1/loxo/activities
read
Returns the total, the count per activity type and the count per user over the whole range and filters, then the activity rows newest first in pages. A drag between stages counts as "Moved to ..." and a trigger as its own event. The account needs access to Reports; without it the call fails with APP_PERMISSION_DENIED.
Parameters
| Name | Type | Description |
|---|---|---|
| date_from string required | string | First day, YYYY-MM-DD, matched against Date Logged. |
| date_to string required | string | Last day, YYYY-MM-DD. |
| activity_type string | string | Activity type, for example Outgoing Call or Submission. Without it, all types. |
| user string | string | Name of the user who logged the activity. |
| job_id integer | integer | Only activity on this job. |
| stage string | string | Only activity in this stage. |
| cursor string | string | next_cursor from the previous page. |
Request
curl "https://cotlet.dev/api/v1/loxo/activities?date_from=2026-10-12&date_to=2026-10-18" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("loxo", "list_activity", {"date_from":"2026-10-12","date_to":"2026-10-18"}) const result = await cotlet.call('loxo', 'list_activity', {"date_from":"2026-10-12","date_to":"2026-10-18"}); cotlet call loxo list_activity --data '{"date_from":"2026-10-12","date_to":"2026-10-18"}' Example response
{
"date_from": "2026-10-12",
"date_to": "2026-10-18",
"total": 48,
"by_type": [
{
"activity_type": "Outgoing Call",
"count": 21
},
{
"activity_type": "Moved to Interviewing",
"count": 12
},
{
"activity_type": "Scheduled Interview",
"count": 9
},
{
"activity_type": "Submission",
"count": 6
}
],
"by_user": [
{
"user": "Dana Reyes",
"count": 30
},
{
"user": "Sam Okafor",
"count": 18
}
],
"activities": [
{
"logged_at": "2026-10-18T16:40:00Z",
"activity_type": "Submission",
"user": "Dana Reyes",
"person": "Tom Becker",
"job_id": 2481530
},
{
"logged_at": "2026-10-18T11:02:00Z",
"activity_type": "Outgoing Call",
"user": "Sam Okafor",
"person": "Lena Ortiz",
"job_id": 2481544
}
],
"next_cursor": "c2"
}