Push messages statistics

The following method will enable you to retrieve statistics for sent bulk Push messages.

Resource

https://api.infobip.com/push/1/statistics

Parameters

Property name Type Description
applicationCode* string PUSH application code you are using to send messages.
bulkId* string The ID that uniquely identifies the request that was sent.

Request Example

					GET /push/1/statistics?bulkId=3813836816344707101&applicationCode=15f5e3f8ef4018d73a6822eff5dc38a9-6e65ef9a-837f-44e6-83fe-0cf82253767e HTTP/1.1
Host: api.infobip.com
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
Content-Type: application/json
Accept: application/json
					
				

Response

					{
  "totalSent": 31569,
  "delivered": 29568,
  "seen": 25632,
  "errors": {
    "registration": 1654,
    "expired": 301,
    "cloud": 46
  },
  "delivery": {
    "rate": 93.66
  }
}
					
				
					{
  "requestError": {
    "serviceException": {
      "messageId": "UNAUTHORIZED",
      "text": "Invalid login details"
    }
  }
}
					
				

Response format

If successful, the response header HTTP status code will be 200 OK

If you try to retrieve the statistics without authorization, you will receive the 401 Unauthorized error.

Response

Parameter Type Description
totalSent int Total number of sent messages.
delivered int Total number of delivered messages.
seen int Total number of seen messages.
errors Error Messages not delivered to users.
delivery Delivery Delivery information about the bulk sending of messages.

Errors

Parameter Type Description
registration int Messages not delivered due to errors with non-valid registrations due to user uninstalling the app.
expired int Messages undelivered due to expired validity period. Indicates users who have disabled notifications on a specific Push application.
cloud int Messages not delivered due to errors on APNS or GCM clouds. Happens due to transient errors on cloud services.

Delivery

Parameter Type Description
rate double Delivery rate. Ratio between total delivered and total sent messages in a specific bulk sending process.

INFO

For detailed Delivery Reports for each message sent in your bulk request the following method can be used : Sent Push messages reports