get_count_history_by_segment_id
Retrieve the count history for a segment's query results. Use pagination to fetch up to 50 records per page.
Instructions
🟢 READ-ONLY · Segments · GET /api/3/segmentsV2/{segmentId}/count-history
Retrieve all result counts for the given segment that were ran without an AdditionalCriteria
Fetches data. Makes no changes to your ActiveCampaign account.
Up to 50 results will be returned at once. To get the next page, request again with the last result's timestamp formatted as an EPOCH seconds value
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. | |
| segmentId | Yes | A segment id |