---
updatedAt: 2026-10-01T14:04:18.000Z
agentTools:
  projectIndex: https://developers.apptweak.com/llms.txt
---

# App Store Connect by In-App Event

The integrations reports endpoints allow you to fetch different reports related to your integrations in AppTweak with a breakdown by in-app event. <br/><br/> <b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>In-app event report</td><td>1</td><td>request</td></tr></tbody></table> <br/><br/> The response for the request will be a JSON which contains all the info related to the selected property, grouped by app id, country code and device, without pagination.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1",
    "title": "Console Data API",
    "contact": {
      "name": "AppTweak",
      "email": "support@apptweak.com"
    }
  },
  "servers": [
    {
      "url": "https://public-api.apptweak.com/api/public/integrations"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "tags": [
    {
      "name": "App Store Connect",
      "description": "The integrations reports endpoints allow you to fetch different reports related to your integrations in AppTweak."
    }
  ],
  "paths": {
    "/accounts/ios/reports/in_app_events": {
      "get": {
        "summary": "App Store Connect by In-App Event",
        "description": "The integrations reports endpoints allow you to fetch different reports related to your integrations in AppTweak with a breakdown by in-app event. <br/><br/> <b>Price</b><table><thead><tr><th>Data</th><th>Credits</th><th>Per</th></tr></thead><tbody><tr><td>In-app event report</td><td>1</td><td>request</td></tr></tbody></table> <br/><br/> The response for the request will be a JSON which contains all the info related to the selected property, grouped by app id, country code and device, without pagination.",
        "operationId": "app-store-connect-by-in-app-event",
        "tags": [
          "App Store Connect"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "The api-account-id of the integrated account. Get the list of integrated accounts using the <a href=\"https://developers.apptweak.com/reference/account-list\" target=\"_blank\"><b>integrated accounts endpoint</b></a>. You can only pass 1 api account id. It must be an \"itunes-connect\" integration.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "property",
            "in": "query",
            "description": "The metric to report, one per request. `units` is first-time downloads; `installs` is completed installations, redownloads and other devices on the same Apple Account included, and like every usage metric it covers only users who opted in to share analytics. Each value is described in the <a href=\"https://developers.apptweak.com/reference/app-store-connect#property-parameters\" target=\"_blank\"><b>property parameter table</b></a>.",
            "required": true,
            "example": "units",
            "schema": {
              "type": "string",
              "enum": [
                "units",
                "iap",
                "sales",
                "paying-users",
                "installs",
                "sessions",
                "active-devices",
                "rolling-active-devices",
                "redownloads",
                "total-downloads",
                "event-impressions-unique",
                "event-notification-taps",
                "event-opens",
                "event-page-views-unique",
                "event-reminders",
                "deletions"
              ]
            }
          },
          {
            "name": "in_app_events",
            "in": "query",
            "description": "The comma separated list of in-app event ids.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apps",
            "in": "query",
            "description": "The list of app ids separated by commas for which to fetch the report. Get the list of products using the <a href=\"https://developers.apptweak.com/reference/integration-product-list\" target=\"_blank\"><b>integrated apps endpoint</b></a>. Default: all products",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "countries",
            "in": "query",
            "description": "Comma-separated country codes among the territories App Store Connect reports. Default: all available countries",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "description": "Start date (YYYY-MM-DD). Send both dates or omit both. Maximum range: one full calendar year. Defaults to 30 days ago.",
            "required": false,
            "example": "2026-06-01",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "The end date for the report in the format: YYYY-MM-DD. Default: yesterday",
            "required": false,
            "example": "2026-07-01",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "title": "App ID",
                        "description": "Keyed by app ID (numeric App Store ID, e.g. \"545519333\")",
                        "additionalProperties": {
                          "type": "object",
                          "title": "Country",
                          "description": "Keyed by two-letter country code (ISO Alpha-2, lowercase)",
                          "additionalProperties": {
                            "type": "object",
                            "title": "In-App Event ID",
                            "description": "Keyed by in-app event ID (numeric, as passed in the in_app_events parameter)",
                            "properties": {
                              "start_date": {
                                "type": "string",
                                "format": "date",
                                "description": "First day (YYYY-MM-DD) covered by `values`"
                              },
                              "end_date": {
                                "type": "string",
                                "format": "date",
                                "description": "Last day (YYYY-MM-DD) covered by `values`"
                              },
                              "values": {
                                "type": "array",
                                "description": "One value of the requested property per day, from `start_date` to `end_date` inclusive. An entry is null when no data is available for that day.",
                                "items": {
                                  "type": "number",
                                  "nullable": true,
                                  "description": "Daily value of the requested property, or null when unavailable"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/ResponseMetadata"
                    }
                  }
                },
                "examples": {
                  "event-impressions-unique - in-app events": {
                    "value": {
                      "result": {
                        "545519333": {
                          "us": {
                            "6443741640": {
                              "start_date": "2024-01-24",
                              "end_date": "2024-02-07",
                              "values": [
                                200,
                                120,
                                187,
                                189,
                                300,
                                256,
                                270,
                                0,
                                0,
                                0,
                                0,
                                120,
                                0,
                                125,
                                0
                              ]
                            },
                            "6444430656": {
                              "start_date": "2024-01-24",
                              "end_date": "2024-02-07",
                              "values": [
                                null,
                                null,
                                187,
                                189,
                                300,
                                256,
                                270,
                                0,
                                0,
                                0,
                                0,
                                120,
                                0,
                                125,
                                0
                              ]
                            }
                          }
                        }
                      },
                      "metadata": {
                        "request": {
                          "path": "/api/public/integrations/accounts/ios/reports/in_app_events",
                          "params": {
                            "start_date": "2024-01-24",
                            "end_date": "2024-02-07",
                            "id": "aaa00bbb-0bba-ccdd-eeff-1234567890ab",
                            "in_app_events": [
                              "6443741640",
                              "6444430656"
                            ],
                            "property": "event-impressions-unique",
                            "apps": [
                              "545519333"
                            ],
                            "countries": [
                              "us"
                            ]
                          },
                          "cost": 1,
                          "status": 200,
                          "charge_type": "credits"
                        },
                        "response": null
                      }
                    }
                  },
                  "deletions - in-app event": {
                    "value": {
                      "result": {
                        "545519333": {
                          "us": {
                            "6443741640": {
                              "start_date": "2022-11-21",
                              "end_date": "2022-11-21",
                              "values": [
                                0
                              ]
                            }
                          }
                        }
                      },
                      "metadata": {
                        "request": {
                          "path": "/api/public/integrations/accounts/ios/reports/in_app_events",
                          "params": {
                            "start_date": "2022-11-21",
                            "end_date": "2022-11-21",
                            "id": "aaa00bbb-0bba-ccdd-eeff-1234567890ab",
                            "in_app_events": [
                              "6443741640"
                            ],
                            "property": "deletions",
                            "apps": [
                              "545519333"
                            ],
                            "countries": [
                              "us"
                            ]
                          },
                          "cost": 1,
                          "status": 200,
                          "charge_type": "credits"
                        },
                        "response": null
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized. Unknown or missing API token."
          },
          "403": {
            "description": "Forbidden. Returned when there are not enough credits to perform the request, when one of the requested apps or in-app events is not owned by the connected account, or when the requested resource does not belong to the requester's account."
          },
          "422": {
            "description": "Validation error. Returned when a parameter is invalid."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "x-apptweak-key",
        "in": "header"
      }
    },
    "schemas": {
      "ResponseMetadata": {
        "type": "object",
        "description": "Standard response envelope: the request as the API parsed it, the credits charged (`cost`) and how they are paid (`charge_type`). Every endpoint of this API returns it unchanged.",
        "properties": {
          "request": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": "The path that was called."
              },
              "params": {
                "type": "object",
                "nullable": true,
                "description": "The query as the API parsed it, with defaults applied."
              },
              "cost": {
                "type": "integer",
                "description": "Credit cost of the request. Thread tokens do not debit credits."
              },
              "charge_type": {
                "type": "string",
                "enum": [
                  "credits",
                  "thread"
                ],
                "description": "How the request is paid. `credits`: debited from the company's balance. `thread`: an unlimited token, not debited; `cost` shows what the request is worth."
              },
              "status": {
                "type": "integer",
                "description": "HTTP status of the response."
              }
            }
          },
          "response": {
            "type": "object",
            "nullable": true,
            "description": "Endpoint-specific notes; null when there are none."
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```