Skip to main content
PATCH
Update Filter Segment

Authorizations

Authorization
string
header
required

Basic Authentication using your Workspace ID (as username) and Data API Key (as password) from the MoEngage Dashboard.

Headers

MOE-APPKEY
string
required

The Workspace ID (APP ID) of your MoEngage account.

Path Parameters

id
string
required

The ID of the custom segment.

Body

application/json

The updated filter definition for the segment.

Request schema for updating an existing filter-based custom segment.

included_filters
object
required

The updated filtering criteria for the segment. Users satisfying this set of filters will be part of the segment.

name
string

A new unique name for the custom segment.

updated_by
string<email>

Email of the user performing the update (e.g., admin@companyemail.com).

Response

Custom segment updated successfully. Returns the updated segment details including the new filter definition and metadata.

Response schema for filter segment operations (create/update).

data
object

Information about the custom segment.

response_id
string

A unique identifier for this API response.

type
string

The type of resource referenced in the response.

Example:

"custom_segment"