Reports

Get the number of pushes you have sent within a specified time period.

get/api/reports/sends

Request

Query parameters

startstring date-time required
Example:2021-02-01T00:00:00

A date-time for start of report.

endstring date-time required
Example:2021-02-28T00:00:00

A date-time for end of report.

precision'HOURLY' | 'DAILY' | 'MONTHLY' required

Granularity of results to return. Defaults to DAILY.

Response

Returned on success, with the JSON representation of the sends in the body of the response.

next_pagestring url

There might be more than one page of results for this listing. Follow this URL if it is present to the next batch of results.

Example response

{
  "sends": [
    {
      "android": 124,
      "date": "2018-06-01 10:00:00",
      "ios": 133
    }
  ]
}

Changes

    • breaking

      the query request parameter precision became required

    • breaking

      for the query request parameter end, the format changed from no format to date-time

    • breaking

      for the query request parameter start, the format changed from no format to date-time

    This list may be incomplete.