create_segment
Create a new segment in your ActiveCampaign account by specifying conditions, condition groups, and operators to define target audiences.
Instructions
🟡 WRITE · creates data · Segments · POST /segmentsV2
Create a Segment
Creates a new record. Not idempotent — calling twice may create duplicates.
The Segment JSON structure is extremely flexible; Only segments that are supported by the segment-builder are guaranteed to work as expected. Specific Condition types only support a subset of FieldDO and AggregateDO options. Please refer to your account's /app/segments/segment-builder page to verify what Segment JSON configurations are possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (application/json). |