/GetAllSubscribers

When a request is made with the received Token, it lists all subscribers belonging to the company in the system. It does not wait for any parameters other than the token information. Authorization header should be entered as “token_type” value returned as a result of token request, space character, “Access_token” value.

As a result of the request, you will see that the list of subscribers belonging to your company is returned in JSON format.

GetAllSubscribers Sample Code (C#)

private static IRestResponse GetAllSubscribers()
            {
                RestClient client = new RestClient("https://api.flexxii.com");
                RestRequest request = new RestRequest("api/Subscribers/GetAllSubscribers", Method.GET);
                request.AddHeader("Content-Type", "application/json; charset=utf-8");
                request.AddHeader("Authorization", content_type + " " + access_token);

                IRestResponse response = client.Execute(request);
                return response;
            }

Was this helpful?

0 / 0