Post API

Allows you to send events using an HTTP request to the AppMetrica server. Uploaded data is displayed in AppMetrica reports.

You can upload events in request parameters or in the request body (in the csv format). Data passed via the SDK and the API is merged if you passed the same value of profile_id or appmetrica_device_id.

Uploaded data is added to the data that has been received from the SDK. Data that is uploaded via the Post API is synced with the other data every 4 hours.

Accessing the API

To work with the Post API, you need to get the Post API key in the Settings section of your application.

You should pass the token in every API request in the post_api_key parameter.


You should send requests to the host. For example:



The Post API has the following restrictions on loading data:

  • You can upload events