v1
latestOpenAPI 3.1.02026-08-069158174.8 KBCRM Service Calls
CRM Aggregate
Aggregate Tasks
Aggregate tasks by group-by fields — ideal for dashboards, charts, and analytics.
Use this endpoint to build task distribution charts, workload views, or priority breakdowns.
Request Body (AggregateRequest): Same as leads/aggregate.
Examples:
- Tasks by status: {"group_by_fields": ["status"]}
- Tasks by action type: {"group_by_fields": ["action"]}
- Tasks by priority: {"group_by_fields": ["priority"]}
- Tasks by assignee: {"group_by_fields": ["userid"]}
post/crm/tasks/aggregate
Request body
Response
Successful Response