Overview

If you need to create a segment based on the events or actions performed by your users on your application or website, the recommended approach is to use the filter segment API. With this API, you can create a custom segment by specifying the desired filter conditions. The filter segment API supports various operations, including create, update, get, and list, allowing you to effectively manage your segments based on specific criteria. For more information, refer to Custom Segments.

Filter-based custom segments can be used for the following use cases:

  1. Create a segment of users who have completed a purchase in the last three days.
  2. Create a segment of users who have completed a purchase event in the last three days and live in New York.

The following APIs are available:

Create Custom Segment

This API creates a custom segment based on the filter conditions specified. For more information, refer to Create Custom Segment.

Update Custom Segment

This API updates a custom segment specified by its custom segment ID. For more information, refer to Update Custom Segment.

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?