--- title: "Get overall app templates analytics with OAuth 2.0" slug: "get-overall-app-templates-analytics-with-oauth-2-0" description: "Get overall App Templates (In-App) analytics in Insider One with the OAuth 2.0 reporting API: summary, chart, and per-template stats for a date range." updated: 2026-11-23T14:40:35Z published: 2026-11-23T14:40:35Z canonical: "academy.insiderone.com/get-overall-app-templates-analytics-with-oauth-2-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Get overall app templates analytics with OAuth 2.0 Use this request to get summary, chart, and per-template statistics for all App Templates (In-App) campaigns, or for the filtered ones, within a date range. The figures are the same ones the App Templates overall analytics page in the InOne panel shows. > Journey templates are not included. > Your OAuth 2.0 token must include the mob-get-app-templates-reports scope. [See OAuth 2.0 Credentials](/docs/oauth-20-credentials). ## Endpoint and headers > **POST** https://gw.useinsider.com/api/mob/v2/app-templates/reporting/overall | Header | Sample Value | Description | | --- | --- | --- | | Authorization | Bearer {oauth2-token} | Required. An OAuth 2.0 token for a credential with the mob-get-app-templates-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. | 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. | Integer | Yes | | campaign_filter | An optional filter object. If you omit it, all templates are included. | Object | No | | campaign_filter.campaign_type_ids | The template types to include, e.g., "INAPP", "NPS", or "SA_SURVEY". If missing or an empty array, all types are included. Each variant is matched on its own template type, as in the panel. | Array of strings | No | | campaign_filter.statuses | The statuses to include, any of "active", "passive", "awaiting-next-run", "scheduled", and "completed". 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 | | template_type_ids | The template IDs from the template library, combined with campaign_type_ids using OR. | Array of integers | 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 | | report_type | "click" (default) or "view" attribution. | String | No | App Push fields (message_layout, number_of_opens, and trigger_type), page, and per_page are unknown on this endpoint. The API rejects them with a 400 response. ### Campaign list limit The response is not paged. The campaigns list of each platform holds every matching template in ID order, up to **200 templates**. total_campaigns always counts every matching template on the all platform. When more than 200 templates match, all holds the first 200, and android and ios list only those same templates. The response then adds a warning object. The summary and charts still cover every matching template. To list the rest, narrow the date range or the filters. ## Sample request ```bash curl --location 'https://gw.useinsider.com/api/mob/v2/app-templates/reporting/overall' \  --header 'Content-Type: application/json' \  --header 'Authorization: Bearer {oauth2-token}' \  --data '{    "start_time": 1767214800,    "end_time": 1769893199,    "campaign_filter": { "statuses": ["active"] },    "report_type": "click"  }' ``` ### Sample response ```json {  "applied": {    "start_time": 1767214800,    "end_time": 1769893199,    "timezone": "Europe/Istanbul",    "report_type": "click",    "conversion_criteria": "Purchase",    "campaign_options": []  },  "total_campaigns": 2,  "headers": { "goals": ["Purchase"], "filters": { "...": "the filters the report was calculated with" } },  "statistics": {    "all": {      "summary": {        "impressions": 4950,        "clicks": 480,        "clicks_excluding_dismiss": 480,        "conversions": 129,        "conversion_rate": 2.61,        "cr_uplift": 35.71,        "incremental_conversions": 33.95,        "revenue": [{ "currency": "TRY", "revenue": 3720 }],        "incremental_revenue": [{ "currency": "TRY", "revenue": 1631.58 }],        "average_order_value": []      },      "chart": { "performance_by_campaign_metrics": { "line_chart": { "...": "daily, weekly and monthly series" } } },      "campaigns": [        {          "id": 4412,          "name": "Exit Intent",          "created_at": "2025-12-20 00:00:00",          "has_control_group": false,          "nested": [            { "id": 44120, "label": "Variant A", "percentage": 100, "is_control_group": false, "statistics": { "...": "same keys as summary" } }          ]        }      ]    },    "android": { "...": "same keys as all" },    "ios": { "...": "same keys as all" }  } } ``` ### Sample response past the limit When more than 200 templates match, the response has the same fields and adds warning: ```json {  "applied": { "...": "" },  "total_campaigns": 230,  "warning": {    "code": "CAMPAIGN_LIMIT_EXCEEDED",    "message": "Between 2026-01-01 and 2026-01-31 you have 230 campaigns matching the filters. Because of the 200-campaign limit, the list holds the first 200 in id order and the other 30 are not returned. Narrow the date range or the filters to list the rest.",    "limit": 200,    "total": 230  },  "headers": { "...": "" },  "statistics": { "...": "summary and chart cover all 230 templates; each platform's campaigns holds the same first 200" } } ``` #### Response fields | Field | Description | | --- | --- | | applied | The window, timezone, attribution type, conversion criteria, and campaign options the report was calculated with. | | total_campaigns | The number of templates on the all platform that match the filter, before the 200-template limit. | | warning | Returned only when more than 200 templates match. It is the same object as in [Get Overall App Push Campaign Analytics with OAuth 2.0](/docs/get-overall-app-push-campaign-analytics-with-oauth-2-0#response-fields). | | statistics..summary | The impressions, clicks, conversions, conversion rate, uplift against the control group, incremental conversions, and revenue per currency. Control group rows are included, as in the panel. | | statistics..chart | The panel's performance chart. | | statistics..campaigns | The matching templates, at most 200, in ID order. android and ios list only templates that all lists. nested lists each variant and the control group with its own statistics. | ### Error responses Errors 400 (3001 and 3002), 401, 429, 502 (3003), 503 (3005), and 504 (3006) work as described in [Get Overall App Push Campaign Analytics with OAuth 2.0](/docs/get-overall-app-push-campaign-analytics-with-oauth-2-0#error-responses), with mob-get-app-templates-reports as the required scope. The following errors are specific to this endpoint. #### 400 Validation failed (3002): template-specific messages | Field | Message | | --- | --- | | campaign_filter.campaign_type_ids | "" is not a template type | | campaign_filter.statuses | "" is not a template status | | campaign_options | "" is not a campaign option | | report_type | must be click or view | | page or per_page | is not a known field | #### 403 App Templates product is not active (3007) This status indicates that the account does not have the In-App template product. ```json { "message": "product not enabled", "errorCode": 3007 } ``` ## Limitations - A request covers at most **366 days**. - The template list holds at most **200 templates**. Past that, the response carries a warning, and the summary and chart still cover every matching template. - Analytics data is available from 2018-01-01. Any part of the window outside the available data reads as zeros. - Journey templates are not included. - You can send **600 requests per 60 seconds**, with a burst of 10.