API Access
Daria Mamchenkova avatar
Written by Daria Mamchenkova
Updated this week

API Access allows you to get raw data in your analytics systems, which helps you better analyze users and improve their customer journey map (CJM). The option helps in testing new functionality, product performance analytics, and making forecasts on the financial condition of the application.

API Keys

To find the list of API Keys, go to Attribution > API Access.

On this page, you can see the following:

You can use any of these API-keys to get installs, events, and conversions data. Each of these requests has its own conditions.

Install

Headers: API-KEY

Params:

  • pagination.limit (uint) - limit.

  • pagination.offset (uint) - offset.

  • time_window.from_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.from.seconds (uint) - timestamp - higher priority than from_rfc3339.

  • time_window.from_not_include bool - if checked "time > from" else "time >= from".

  • time_window.to_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.to.seconds (uint) - timestamp - higher priority than to_rfc3339.

  • non_organic_only (boolean).

All fields are optional. Order by created_at asc always. New events with less created_at cannot be added.

Events

Headers: API-KEY

Params:

  • pagination.limit (uint) - limit.

  • pagination.offset (uint) - offset.

  • time_window.from_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.from.seconds (uint) - timestamp - higher priority than from_rfc3339.

  • time_window.from_not_include bool - if checked "time > from" else "time >= from".

  • time_window.to_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.to.seconds (uint) - timestamp - higher priority than to_rfc3339.

  • non_organic_only (boolean).

All fields are optional. Order by created_at asc always. New events with less created_at cannot be added.

Conversations

Headers: API-KEY

Params:

  • pagination.limit (uint) - limit.

  • pagination.offset (uint) - offset.

  • time_window.from_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.from.seconds (uint) - timestamp - higher priority than from_rfc3339.

  • time_window.from_not_include bool - if checked "time > from" else "time >= from".

  • time_window.to_rfc3339 (string) - example:2022-01-01T12:00:27.87+00:20.

  • time_window.to.seconds (uint) - timestamp - higher priority than to_rfc3339.

  • non_organic_only (boolean).

All fields are optional. Order by created_at asc always. New events with less created_at cannot be added.

Try API-key

To try an API-Key, do the following:

  1. Select Try installs, Try events, or Try conversions.

  2. In the API-KEY drop-down list, select a certain API-key.

  3. In the Period filter, specify the period.

  4. If you want to get only non organic events, click the Non organic only checkbox.

  5. Click Request.

You may have the following response:


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?