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

You need to supply the SegmentID in the URL. This is the same SegmentID which you get in the response after making a segment through the REST API.

Since the response can be large(in case the segment contains a lot of subscribers), pagination will need to be applied to get all the subscribers in the segment. You can specify 'page' and 'per_page' parameters in the URL for pagination. The default value for both parameters if not specified are 1(page) and per_page(1024).

Response Description:

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

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

Subscriber List: Array of subscribers. It contains the following fields:

a) SubscriberID: Unique SubscriberID for the subscriber
b) Ip_address: The IP Address of the subscriber. Can be in IPV4/IPV6. PushCrew masks certain octets (depending upon the format) by default in the IP Address to make sure that the IP address cannot be used to personally identify a subscriber.
c) User_agent: The user agent string can be used for identifying the browser, browser version and operating system for the push subscription.
d) Browser: The browser through which the subscriber subscribed. Should be present if platform is web-push(For example: Chrome, Firefox, Opera etc)
e) Browser_version: The version number of the browser through which subscriber subscribed. (For example: 58.0.3029.110 )
f) Platform: The platform through which the subscriber subscribed(For example: "web-push")
g) Device_platform: Value can be 'desktop' / 'mobile'. Depending upon the device from which the subscriber subscribed.
h) Operating_system: The operating system of the device through which subscriber subscribed (For example: MacOS, Windows)
i) Device: The device through which the subscriber subscribed. It's value will be 'android' for subscriptions on Chrome on Android or '' (empty string) for subscriptions on browsers on desktops/laptops.
j) Country: The country from where the subscriber subscribed (For example: India, Germany)
k) Region: The region is the sub division or state from where the subscriber subscribed. (For example: New Delhi, Texas).
l) City: The city from where the subscriber subscribed. (For example: Houston, Milwaukee)
m) IsInactive: Integer field which denotes if subscriber has unsubscribed. 1 stands for unsubscribed and 0 stands for subscribed.
n) IsGhost(*): Integer field which denotes if subscriber is a ghost. Ghosts is a terminology for subscribers whom we're not able to reach. 1 stands for unsubscribed and 0 stands for subscribed.
o) Subscriber Added TimeStamp: The GMT timestamp of the time when the subscriber got added into our system.
p) Added To Segment TimeStamp: The GMT timestamp of the time when the subscriber got added into the segment.

Count Active: Denotes the count of active subscribers in the segment. Active subscribers are those for whom is_inactive is 0 and is_ghost is 0.

Count Total: Denotes the count of all subscribers in the segment. Includes inactive and ghost subscribers.

Previous Page: It is a RESTFUL link to the previous page of results. Should be present on all pages except the first page.

Next Page: It is a RESTFUL link to the next page of results. Should be present on all pages except the last page.

(*) For more information on ghosts, please refer to: https://pushcrew.com/blog/product-announcement-improving-website-browser-push-notifications-delivery-rate/

Language
Authorization
Header