Statistics

{app} parameter is required to select sources with subscribers. Each subscriber has relation with tag (app) where he gave permissions to receive push notifications. Each call of this API method should be done with required app GET parameter, using your {app-id} value. This is string value that can be found in SSP inside View Tag page. Or inside your site HTML code.

Statistic for push notification

Statistic for push notification

GET /sending/stats

GET query parameters

  • app [string] — Application ID (can be found in SSP)
  • sending_id [integer] — Number of a push message from SSP

Response

HTTP STATUS REASON
200
Success
401
Wrong or empty access token, check `Authorization-Token` request header
403
Wrong access token for this application, check both GET parameter with name `app` and `Authorization-Token` request header
429
Too many requests
500
Something went wrong on our side, we'll try to fix it ASAP

Statistics for push notification

Statistics for push notification

GET /sendings/stats

GET query parameters

  • app [string] — Application ID (can be found in SSP)
  • page [integer] — Page number (default: 1)
  • use_realtime [integer] — In real time (default: 0)
  • is_full [integer] — Show all statistics on the account (default: 0)

Response

HTTP STATUS REASON
200
Success
401
Wrong or empty access token, check `Authorization-Token` request header
403
Wrong access token for this application, check both GET parameter with name `app` and `Authorization-Token` request header
429
Too many requests
500
Something went wrong on our side, we'll try to fix it ASAP