Create Filter Segment
Custom Segments - Filters
Create Filter Segment
Creates a new custom segment based on a set of filter conditions.
POST
Create Filter Segment
Generate Request from Dashboard
To simplify the request generation, MoEngage has added an option in the dashboard where you can specify filters as per your requirement and generate the payload.- Login to the MoEngage dashboard.
- Click on Test & Debug at the bottom left in the side panel.
- Click on Segment Payload.
- Specify the name for your segment payload and provide the required filters.
- Click on the Generate payload button.
Authorizations
Basic Authentication using your Workspace ID (as username) and Data API Key (as password) from the MoEngage Dashboard.
Headers
The Workspace ID (APP ID) of your MoEngage account.
Body
application/json
The filter definition for the new segment.
Response
Custom segment created successfully. Returns the newly created segment details including its unique ID, filter definition, and metadata.