Create a customer segment.
๐ง Limit on static segments
There is a cap on the number of customers that you can assign to a static segment: 20,000. If you would like to create a bigger segment, then you can use the unlimited
auto-updateorpassivesegment instead and use some customer metadata to build this segment.
๐ง Limit on Active and Passive segments
You can create a maximum of 100 passive and active segments.
Specify the boundary conditions for the customer segment.
Request body schema for creating a static customer segment in POST v1/segments.
Returns a customer segment object.
Response body schema for POST v1/segments.
Unique segment ID.
"seg_1wc52c5z6r1kQ81brO8j9Hk2"
Segment name.
Timestamp representing the date and time when the segment was created. The value is shown in the ISO 8601 format.
"2022-05-12T13:01:56.896Z"
Defines whether the segment is:
auto-update): customers enter and leave the segment based on the defined filters and the customer.segment.entered and customer.segment.left events are triggered,passive): customers enter and leave the segment based on the defined filters, but the customer.segment.entered and customer.segment.left events are not triggered,static): manually selected customers.auto-update, passive, static Defines a set of criteria for an auto-update or passive segment type.
The type of the object represented by JSON. This object stores information about the customer segment.
segment