Split a campaign segment

Split one segment into multiple smaller segments by maximum contacts per chunk. The campaigns UI calls this when the user confirms Split segment.

Endpoint

POST
/campaign-segments-split

Request

Response

json

Exact response shape follows your server implementation; the app reads created_segments, total_contacts, and contacts_per_segment.

Body fields

FieldTypeDescription
campaign_segment_idNumberSource segment to split.
organization_idNumberOrganization id.
contacts_per_segmentNumberMaximum contacts per new segment (must be a positive integer).

Report an issue with this documentation

Please log in to report issues with our documentation.