Scheduled requests

Use /getResults to obtain responses for scheduled requests

To obtain a response for every scheduled request, /getResults has to be sent after the main request. Most of statistics&analytics API methods need the /getResults to be sent in order to get the stats files or JSON:

getResults

/getResults

POST https://api.pushwoosh.com/json/1.3/getResults

Retrieves the result of a scheduled request.

Request Body

NameTypeDescription

auth*

string

API access token from Pushwoosh Control Panel.

request_id*

string

Request ID returned by a scheduled method.

Example
{
    "status_code"200,
    "status_message""OK",
    "response": {
        "formatter": "hourly",
        "rows": [
            {
                "datetime": "2020-05-13 08:00:00",
                "action": "send",
                "count": 6
            },
            {
                "datetime": "2020-05-13 08:00:00",
                "action": "inboxopen",
                "count": 0
            },
            {
                "datetime": "2020-05-13 08:00:00",
                "action": "delivery",
                "count": 1
            },
            {
                "datetime": "2020-05-13 08:00:00",
                "action": "open",
                "count": 0
            }
        ...
        ],
        "conversion": {
            "send": 6,
            "delivery": 1,
            "open": 0,
            "events": []
        }
    }
}

For Custom Plan subscriptions only. For more details, please contact our Sales team.

Example
   {
      "request":{
        "auth": "yxoPUlwqm…………pIyEX4H", // required, API access token from Pushwoosh Control Panel
        "request_id": "REQUEST_ID" // required, request ID returned by the scheduled method    
      }
    }

Last updated

#1600: moved in-app statistics to in-apps, added a link to statistics

Change request updated