Lists all custom segments. Can optionally filter by an exact name match.
Basic Authentication using your Workspace ID (as username) and Data API Key (as password) from the MoEngage Dashboard.
Set the Content-Type header to application/json.
"application/json"
The Workspace ID (APP ID) of your MoEngage account.
The URL-encoded name of the custom segment to retrieve.
Successful retrieval of custom segments. Returns a list of custom segments matching the query criteria. An empty list is returned if no segments match.