get https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/segments/$(segmentid)?start=0
This API is used to get all users of a segment
Request
The Get All Users of a Segment request is specified as follow
URL | https://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/segments/$(segmentid)?start=0 Example: https://api.imiconnect.io/rtmsAPI/api/v1/apps/NA13161451/segments/594125e6e4b07a6772016773/users?start=0, In the above URL, appid = NA13161451, segmentid = 594125e6e4b07a6772016773, and start is the record pointer where to start in the list. A maximum of 50 records can be returned (if available). |
Method | GET |
Request Headers
Request Header | Description |
---|---|
secretKey | Secret key generated in backend application. |
content-type | application/json |
Response Example
{
"users" : ["1723","4444"],
"trans_id" : "2b1142c3-b99e-4af4-befa-77b5451ad2af",
"description" : "success",
"code" : 0
}