Data download

In response to your Export API request, you will get a link to the file with the requested data. Depending on the size of the data, it can be a single file or a GZIP archive, one or more links.

The file is available for download until the time specified in the API response in the timestampExpires parameter.

For example, the link to download a report:

{
  "code": 200,
  "message": "Ok",
  "data": {
    "idReportFile": "2",
    "status": "Success!",
    "files": [
      {
        "link": "https://tracker.my.com/storage/download/report/2.8e8defceaf77a773550a8a011fb74b85.xlsx",
        "timestampExpires": "1609502400"
      }
    ]
  }
}

Download requirements

To download the data, follow these requirements:

  • Be authorized MyTracker user. The authorization process depends on the method you choose to download your data. See How to download.
  • Have access to the accounts which data you download. You need to be the account owner or have the granted export permission.

How to download

You can download the data in the following ways:

  • Using your browser. Copy the received link and paste it into the address bar. In this case, you need to be an authorized user in the MyTracker interface.
  • Through a request to the Export API. In this case, add an authorization header to the request.

How to test authorization

Currently, authorization is a recommendation requirement for downloading data but soon it will become mandatory.

To test a download with authorization, add a parameter auth=1 to the link.

For example:

https://tracker.my.com/storage/download/report/2.8e8defceaf77a773550a8a011fb74b85.xlsx?auth=1

If you have problems, make sure that you follow all the download requirements or contact our support team.