Get overall app push analytics with OAuth 2.0

Prev Next

Use this request to get summary, chart, and per-campaign statistics for all App Push campaigns, or for the filtered ones, within a date range. The figures are the same ones the App Push overall analytics page in the InOne panel shows.

Journey (Architect) sends are not included.

Your OAuth 2.0 token must include the mob-get-app-push-reports scope. See OAuth 2.0 Credentials.

Endpoint and headers

POST https://gw.useinsider.com/api/mob/v2/app-push/reporting/overall

Header

Sample Value

Description

Authorization

Bearer {oauth2-token}

Required. An OAuth 2.0 token for a credential with the mob-get-app-push-reports scope.

Content-Type

application/json

Required.

Body parameters

Column

Description

Data Type

Required

start_time

The start of the date range as a 10-digit Unix timestamp in seconds. Days are counted in your account's timezone.

Integer

Yes

end_time

The end of the date range as a 10-digit Unix timestamp in seconds. It must not be before start_time. The maximum range is 366 days, so end_time can fall at most on the day one year and one day after start_time.

Integer

Yes

campaign_filter

An optional filter object. If you omit it, all campaigns are included.

Object

No

campaign_filter.campaign_type_ids

The campaign types to include: any of "single", "recurring", "conversion", "geofence", and "cart_reminder". If missing or an empty array, all types are included.

Array of strings

No

campaign_filter.statuses

The campaign statuses to include: any of "active", "passive", "scheduled", "queued", "completed", "draft", "running", "stopped", and "awaiting-next-run". If missing or an empty array, all statuses are included.

Array of strings

No

campaign_filter.tags

The tag IDs to include. If missing or an empty array, no tag filter applies.

Array of integers

No

message_layout

The message layouts to include: any of "icon", "image", "carousel", "slider", and "discovery". If missing or an empty array, all layouts are included.

Array of strings

No

number_of_opens

Keeps only campaigns with at least this many opens. If missing or 0, no filter applies. It must not be negative. The panel's first load uses 50, but the API applies no filter unless you send one.

Integer

No

trigger_type

Use "push", "template_from_push", or "app_card_from_push" to narrow the list. Other values are ignored, as in the panel.

Array of strings

No

campaign_options

"with_control_group", "without_control_group", or both.

Array of strings

No

conversion_criteria

The goal name that conversions are counted for. If missing or unknown, "Purchase" is used.

String

No

The API rejects unknown, repeated, or wrongly typed fields with a 400 response that names each field. App Templates fields (template_type_ids, report_type, template_id, and variation_id) are unknown on this endpoint, and so are page and per_page.

Campaign list limit

The response is not paged. statistics.campaigns lists every matching campaign, ordered by ID and then by campaign type, up to 200 campaigns. A campaign is one row per ID and campaign type, as the panel lists it. total_campaigns always counts every matching campaign.

When more than 200 campaigns match, the list holds the first 200, and the response adds a warning object. The summary and charts still cover every matching campaign. To list the rest, narrow the date range or the filters.

Sample request

curl --location 'https://gw.useinsider.com/api/mob/v2/app-push/reporting/overall' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {oauth2-token}' \
  --data '{
    "start_time": 1767214800,
    "end_time": 1769893199,
    "campaign_filter": {
      "campaign_type_ids": ["single", "recurring"],
      "statuses": ["completed", "active"]
    },
    "conversion_criteria": "Purchase"
  }'

Sample response

{
  "applied": {
    "start_time": 1767214800,
    "end_time": 1769893199,
    "timezone": "Europe/Istanbul",
    "conversion_criteria": "Purchase",
    "campaign_options": []
  },
  "total_campaigns": 1,
  "headers": { "goals": ["Purchase"] },
  "filters": { "...": "the filters the report was calculated with" },
  "statistics": {
    "summary": {
      "all": {
        "targeted": 15384, "sent": 15135, "dropped": 249, "delivered": 15000,
        "delivery_rate": 99.11, "undelivered": 105, "open": 2250, "open_rate": 15,
        "silent_hours": 30, "re_eligibility": 165, "frequency_capped": 18,
        "internal_errors": 6, "certificate_mismatch": 0, "uninstalls": 45,
        "delivery_issues": 0, "other": 0,
        "click": {
          "conversion": 135, "conversion_rate": 0.9, "main_revenue": 1807.5,
          "revenue": [{ "currency": "USD", "revenue": 1807.5 }, { "currency": "TRY", "revenue": 13503.75 }]
        },
        "view": {
          "conversion": 210, "conversion_rate": 1.4, "main_revenue": 600,
          "revenue": [{ "currency": "USD", "revenue": 600 }]
        }
      },
      "android": { "...": "same keys as all" },
      "ios": { "...": "same keys as all" }
    },
    "charts": {
      "all": { "unsuccessful_messages": { "...": "" }, "performance_by_campaign_metrics": { "data": { "...": "" }, "legend_names": [] } },
      "android": { "...": "same keys as all" },
      "ios": { "...": "same keys as all" }
    },
    "campaigns": [
      {
        "id": 501,
        "name": "Winter Sale",
        "campaign_type": "single",
        "status": "completed",
        "segment_name": "All Users",
        "primary_goal": "Purchase",
        "start_date": "2026-01-05 09:00:00",
        "end_date": "-",
        "statistics": { "all": { "...": "same keys as summary.all" }, "android": { }, "ios": { } }
      }
    ]
  },
  "provider_errors": {
    "ios": [{ "code": "Unregistered", "message": "HTTP 410", "count": 18 }],
    "android": [{ "code": "Unregistered", "message": "HTTP 410", "count": 27 }],
    "huawei": []
  },
  "is_standard_push_exist": true,
  "is_advanced_push_exist": false
}

Sample response past the limit

When more than 200 campaigns match, the response has the same fields and adds warning:

{
  "applied": { "...": "" },
  "total_campaigns": 350,
  "warning": {
    "code": "CAMPAIGN_LIMIT_EXCEEDED",
    "message": "Between 2026-01-01 and 2026-01-31 you have 350 campaigns matching the filters. Because of the 200-campaign limit, the list holds the first 200 in id and campaign type order and the other 150 are not returned. Narrow the date range or the filters to list the rest.",
    "limit": 200,
    "total": 350
  },
  "statistics": { "...": "summary and charts cover all 350 campaigns; campaigns holds 200" }
}

Response fields

Field

Description

applied

The window, timezone, conversion criteria, and campaign options the report was calculated with, after defaults were applied.

total_campaigns

The number of campaigns that match the filter, before the 200-campaign limit.

warning

Returned only when more than 200 campaigns match. code is CAMPAIGN_LIMIT_EXCEEDED, limit is 200, total is the number of matching campaigns, and message names the date range and how many campaigns were not returned.

statistics.summary

The totals per platform (all, android, and ios): targeted, sent, dropped and its reasons (silent hours, re-eligibility, frequency capping, internal errors, and certificate mismatch), delivered, undelivered, opens, and click-through and view-through conversions with revenue.

statistics.charts

The panel's charts per platform: unsuccessful messages and performance by campaign metric.

statistics.campaigns

The matching campaigns (at most 200) in ID and then campaign type order, each with its own per-platform statistics.

revenue

Revenue is listed per currency and never summed across currencies. main_revenue is the amount in the account's main currency.

provider_errors

The push provider errors per platform (iOS, Android, and Huawei) with their counts.

Error responses

Every error except the gateway's own answers (401 and 429) has this body:

{ "message": "validation failed", "errorCode": 3002, "errors": { "end_time": "the window is longer than 366 days" } }

400 Failed to parse request (3001)

This status indicates that the request body is not JSON, or that a field has the wrong type.

{
  "message": "the request body could not be parsed",
  "errorCode": 3001,
  "errors": { "start_time": "must be a number" }
}

400 Validation failed (3002)

This status indicates that the request does not meet the validation rules. Each rejected field is named in errors.

{
  "message": "validation failed",
  "errorCode": 3002,
  "errors": { "campaign_filter.statuses": "\"archived\" is not an App Push campaign status" }
}

The following table lists other common validation messages:

Field

Message

start_time

is required

start_time

must be a 10-digit unix timestamp in seconds

end_time

must not be before start_time

end_time

the window is longer than 366 days

page or per_page

is not a known field

number_of_opens

must not be negative

<field>

is not a known field

<field>

is repeated

401 Unauthorized

The gateway returns this status when the token is missing, invalid, or expired, or when the credential does not have the mob-get-app-push-reports scope.

{ "code": "R6", "message": "Invalid Request" }

Code

Meaning

R1

No token is provided, or the token is malformed or tampered with.

R5

The token has expired. Generate a new one.

R6

The credential does not have the scope for this endpoint. Add mob-get-app-push-reports to the credential, then generate a new token.

403 App Push product is not active (3007)

This status indicates the account does not have App Push enabled, meaning no mobile app platform (iOS, Android, or Huawei) is active.

{ "message": "product not enabled", "errorCode": 3007 }

429 Rate limited

This status indicates that you exceeded the rate limit. Wait before you send the next request.

502 Upstream service error (3003)

This status indicates that the analytics service failed to answer. Try again later, or with a shorter date range.

{ "message": "upstream service error", "errorCode": 3003 }

503 Reporting service unavailable (3005)

This status indicates that the reporting service is unavailable. Try again later.

{ "message": "reporting service unavailable", "errorCode": 3005 }

504 Upstream service timeout (3006)

This status indicates that the analytics service did not answer in time. Try again later, or with a shorter date range.

{ "message": "upstream service timeout", "errorCode": 3006 }

Limitations

  • Send all requests as an HTTPS POST with a JSON body.

  • A request covers at most 366 days.

  • The campaign list holds at most 200 campaigns. Past that, the response carries a warning, and the summary and charts still cover every matching campaign.

  • Analytics data is available from 2018-01-01. Any part of the window outside the available data reads as zeros, not as an error.

  • Day boundaries use your account's timezone and its current UTC offset, as the panel does.

  • Journey (Architect) sends are not included.

  • You can send 600 requests per 60 seconds, with a burst of 10.