Update a List Segment
Update an existing list segment using new field or campaign conditions. Only the submitted conditions will be retained; any existing ones not included will be removed.
✏️ Update a List Segment
Modify an existing segment of a subscriber list by replacing its conditions, campaign filters, and other attributes.
🔹 HTTP Request
PUT API-URL/lists/LIST-UNIQUE-ID/segments/SEGMENT-UNIQUE-ID🔸 URL Segments
LIST-UNIQUE-ID
string
Yes
Unique identifier of the list.
SEGMENT-UNIQUE-ID
string
Yes
Unique identifier of the segment.
🔐 Authorization Header
X-API-KEY: your-api-key-here🕝 PUT Parameters
data
array
Yes
List segment details including name, operator_match, conditions, and campaign_conditions.
📦 General Block (Required)
name
string
Yes
Name of the list segment.
operator_match
string
Yes
Match operator: any or all.
📦 Conditions Block (Optional)
field_id
string
Yes
ID of the custom field (use Get List Fields API).
operator_id
string
Yes
Condition operator ID (use condition operators API).
value
string
Yes
Value to compare against.
📦 Campaign Conditions Block (Optional)
action
string
Yes
Action to filter by: click or open.
campaign_id
integer
Yes
Campaign ID to check behavior against.
time_comparison_operator
string
Yes
Time operator: lte, lt, gte, gt, eq.
time_value
integer
Yes
Time value for comparison.
time_unit
string
Yes
Time unit: day, month, or year.