segments field of its data object; remote configurations and experiments are targeted with their own rules (segmentation_conditions), which cannot reference a segment. v4 separates user-defined segments (fully editable) from system segments (managed by Qonversion).
Key concepts
- Rules — Conditions over user fields (identifiers, environment) and the app platform; see Condition shape.
- System segments — Read-only, predefined segments (e.g., active subscribers, churned users).
- Uses — Referenced by automations (deprecated). Remote configurations, experiments, no-code screens, scheduled reports, and exports do not take a segment.
Condition shape
Each condition has the same four fields:
Rules are joined with logical AND — every condition must hold for a user to fall into the segment.
PUT /segments/{segment_id} is a full replace: pass the complete condition set you want to keep, or [] to clear. Omit the field entirely to leave conditions untouched.
Example create body: