Returns info on new users over a given time period.

📘

The aggregation and grouping of the returned values is controlled by the optional time period given in params:

  • one day will return values per hour
  • up to 30 days returns values per day
  • greater than 30 days returns values per month
  • greater than a year returns values per year

Examples

Get total number of new users for February 2020:

curl --request POST \
  --url https://external-api.xtremepush.com/api/external/analytics/new_users \
  --header 'content-type: application/json' \
  --data '{
    "apptoken": "YOUR_APPTOKEN",
    "totals": 1,
    "params": {
      "startDate": "2020-02-01",
      "endDate": "2020-02-29"
    }
  }'
Language
Click Try It! to start a request and see the response here!