Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Reading Push Notifications Logs

Push notifications logs contain information about each push notification that you have sent, including error message, number of failed devices, and platform type. Even though the information is available in the Telerik Platform portal, the Administration API allows you to read it programmatically if you need to.

The following request returns log information about a specified push notification. Keep in mind that log information is only available for push notifications that failed to reach some of the devices (in other words, devices whose Feedback.Failed fields are greater than zero). Refer to Reading Push Notifications to learn how to read push notifications.

Request:
    GET https://api.everlive.com/v1/your-app-id/Push/Logs/907db2b0-6dd5-11D6-8db5-8b31e0d2c505
Headers:
    Authorization  Masterkey your-master-key
Response:
    Status: 200 OK
    Content-Type: application/json
$.ajax({
    type: "GET",
    url: 'https://api.everlive.com/v1/your-app-id/Push/Logs/907db2b0-6dd5-11D6-8db5-8b31e0d2c505',
    headers: {
        "Authorization": "Masterkey your-master-key"
    },
    success: function (data) {
        alert(JSON.stringify(data));
    },
    error: function (error) {
        alert(JSON.stringify(error));
    }
});

The API operation returns result in the following format:

{
    "Result": [
        {
            "Devices": 2,
            "Id": "907db2b0-6dd5-11D6-8db5-8b31e0d2c505",
            "ErrorMessage": "DeviceTokenNotForTopic",
            "PlatformType": 4
        }
    ]
}

See Also


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.