Query users

Your service can query users as follows:

Use this method to query current amount of online and registered online users for application.




This is a cURL command. For more information, see Testing Service using cURL.




200 OK

XML response body includes the information about limitations:

  • Amount of subscribers online.

  • Total amount of subscribers.

<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
  <online desc="Amount of subscribers online">{ONLINE_SUBSCRIBERS}</online>
  <subscribers desc="Total amount of subscribers">{SUBSCRIBERS}</subscribers>

Error cases

400 Bad Request

Unknown version. Only version 1.0 is currently supported. Any other version (or no version) returns 400 Bad Request.

401 Unauthorized

  • Authorisation failed. Incorrect service credentials.

  • TCP/TLS connection for the HTTP requests may not be persistent. Make sure that your service uses a persistent TCP/TLS connection for the HTTP requests.

  • Forbidden service. Service access to Nokia Notifications API is forbidden.

405 Method Not Allowed

Wrong method used. Only GET method is allowed.


Request GET URL


Response DATA

HTTP/1.1 200 OK
<?xml version="1.0" encoding="UTF-8"?><users><online desc="Amount of subscribers online">2</online><subscribers desc="Total amount of subscribers">5</subscribers></users>

Last updated 9 October 2013

Back to top

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.