This API will get all the subscribers of a topic.

Request

The Get All Subscribers of a Topic API request is specified as follows:

URLhttps://api.imiconnect.io/rtmsAPI/api/v1/apps/$(appid)/topics/$(topicid)/users?start=0

Example: In the URL http://api.imiconnect.io/rtmsAPI/api/v1/apps/BB20183142/topics/591d7b7de4b09e0d95d4f73d/users?start=0

Where
appid = BB20183142, topicid = 591d7b7de4b09e0d95d4f73d, and start is the record pointer where to start in the subscriber list. A maximum of 50 subscribers can be returned (if available).
MethodGET

Request Headers

The following table describes the request headers:

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

##Response Example

{
	"total" : "1",
	"users" : [
		"2315"
	],
	"count" : 1,
	"trans_id" : "36a7644a-8f2a-492c-b3e9-13422cb35260",
	"description" : "success",
	"code" : 0
}
Language
Credentials
Header
Copyright © 2000 - 2021 IMImobile Limited | All Rights Reserved