get_recent_count_history
Retrieve the most recent result count for one or more segments that were executed without additional criteria. Accepts a comma-separated list of segment IDs.
Instructions
🟢 READ-ONLY · Segments · GET /api/3/segmentsV2/count-history
Retrieve the most recent result count for the given segments that were ran without an AdditionalCriteria
Fetches data. Makes no changes to your ActiveCampaign account.
One result per segment will be returned. Pagination not supported. Maximum 100 segmentIds per request. SegmentIds in the request that doesn't exist, will simply be ignored
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results per page (ActiveCampaign default 20, max 100). | |
| offset | No | Zero-based offset into the result set for pagination. | |
| orders | No | Sort order as an object, e.g. {"email":"ASC"} → orders[email]=ASC. | |
| filters | No | Field filters as an object, e.g. {"name":"ecom"} → filters[name]=ecom. | |
| segmentIds | Yes | A comma separated list of segmentId's. Example: id1,id2,id24,uuid-string,id5454 |