Hello All,

How can I know the total of subscribers via the PushWoosh API... before sending a notification for example ?

--

Gary

asked 04 Aug '14, 17:04
gary-axsmarine's gravatar image

gary-axsmarine
214

Hello Gary,

Generally, we don't have this functionality out-of-the-box, although there is a simple enough workaround: you can use the compileFilter method of our API:

{ "request": {
"auth":"your_API_access_token",
"devices_filter":"A(\"AppID\")" 
}}

This method would return you the amount of subscribers of the given application.

In order to know the total amount of subscribers on your account, you can create an Application Group containing all your apps, and specify a Group instead of an application in the request.

permanent link
answered 05 Aug '14, 06:23
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

Hello Dmitry,

Thanks a lot for your quick response. The compileFilter call returns the subscribers count as you said... that's great :)

Anyway I was not able to find the compileFilter method in the Remote API online documentation (http://www.pushwoosh.com/programming-push-notification/pushwoosh-push-notification-remote-api/). Maybe I've just missed it... If not can you please tell me where I can find the references of this method ?

permanent link
answered 06 Aug '14, 13:45
gary-axsmarine's gravatar image

gary-axsmarine
214

You haven't missed it, this method isn't in our Remote API guide.

Generally, you can find it in our Advanced Tag guide. It is usually used only in developing/integration phase, so we haven't put it in Remote API guide.

(07 Aug '14, 06:01) Dmitry Dyudeev Dmitry%20%20Dyudeev's gravatar image

Ok got it. My Bad :) Thanks again Dmitry.

(07 Aug '14, 09:08) gary-axsmarine gary-axsmarine's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×326
×120
×33

question asked: 04 Aug '14, 17:04

question was seen: 1,253 times

last updated: 07 Aug '14, 09:08