This endpoint is used to get a list of segments which a subscriber is present in. The request method of this call needs to be "GET".

You need to supply the SubscriberID in the URL. This is the same SubscriberID which you get in the 'SuccessfulSubscription Callback' in the JS API.

Response Description:

Status: To denote whether the request succeeded or not. Values can be 'success' or 'failure'.

Message: Present if segment list can't be fetched. A string denoting why the request failed.

Count: Denotes the number of segments the subscriber is a part of.

Segment List: Array of segments with their name and IDs

Language
Authorization
Header