This API is used to get all users of a segment

Request

The Get All Users of a Segment request is specified as follow

URLhttps://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).
MethodGET

Request Headers

Request HeaderDescription
secretKeySecret key generated in backend application.
content-typeapplication/json

Response Example

{
	"users" : ["1723","4444"],
	"trans_id" : "2b1142c3-b99e-4af4-befa-77b5451ad2af",
	"description" : "success",
	"code" : 0
}
Language
Credentials
Header
Copyright © 2000 - 2021 IMImobile Limited | All Rights Reserved