Creates a new custom segment based on a set of filter conditions.
Basic Authentication using your Workspace ID (as username) and Data API Key (as password) from the MoEngage Dashboard.
The Workspace ID (APP ID) of your MoEngage account.
The filter definition for the new segment.
Custom segment created successfully. Returns the newly created segment details including its unique ID, filter definition, and metadata.