Fetches a specific custom segment (File or Filter) by its ID.
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 ID of the custom segment.
Successful retrieval of custom segments. Returns a list of custom segments matching the query criteria. An empty list is returned if no segments match.