v1

latestOpenAPI 3.0.3MIT2026-07-1410794124.7 KB
Segments

Add Segment

Add a new segment, based on specified RULE. Required Access Level: ModifyContacts

post/segments

Request body

Namestring string required

Segment name

Rulestring string required

SQL-like rule to determine which Contacts belong to this Segment. Help for building a segment rule can be found here: https://help.elasticemail.com/en/articles/5162182-segment-rules

Response

Created

Namestring string

Segment name

Rulestring string

SQL-like rule to determine which Contacts belong to this Segment.