v1.1.0 - update to segments
over 3 years ago by Tatenda Chawanzwa
This update we've introduced dynamism to segments to improve how they are generated. This is explained in more detail here
In terms of endpoint changes, main changes to take note are
POST /segment- remove use ofincludeAllbody field. Instead to create segment of entire subscriber pool just omit therulesfieldGET /segment/subscribers- endpoint now accepts alsosegmentBucketId. If thats provided, it will add the subscribers to that specific bucket. IfsegmentIdis provided, it will add the subscribers to all the segments bucketsGET /segments- endpoint now accepts paramincludeBucketsto determine whether to also return the segments bucketsGET /subscribers- endpoint no longer accepts segmentId param
