This endpoint is used to get a list of segment names with their unique Segment IDs. The request method of this call needs to be "GET".
The same Segment ID is used to identify the segment while sending notifications to that segment and adding/removing subscribers to/from the segment.
Status: To denote whether the request succeeded or not. Values can be 'success' or 'failure'.
Segment List: List of segments with their name and IDs