latestOpenAPI 3.1.02026-08-069158174.8 KB
165a6d16a9a0
CRM Service Calls
CRM Aggregate
Aggregate Accounts
Aggregate accounts by group-by fields — ideal for dashboards, charts, and analytics.
Use this endpoint to build account distribution charts by status, relationship type, or industry. Pair with a numeric aggregate_field for revenue or employee-count roll-ups.
Request Body (AggregateRequest): Same as leads/aggregate.
Examples:
- Accounts by status: {"group_by_fields": ["status"]}
- Accounts by relationship type: {"group_by_fields": ["relationship_type"]}
- Accounts by industry with revenue: {"group_by_fields": ["industry"], "aggregate_field": "revenue"}
post/crm/accounts/aggregate
Request body
Response
Successful Response