Raw conversions
const url = 'https://restapi.affattr.com/v1/report/raw/conversions?time_format=rfc3339';const options = { method: 'POST', headers: {'API-KEY': '<API-KEY>', 'Content-Type': 'application/json'}, body: '{"app_id":[123],"blocked_reason":["example"],"cap_id":[1],"conversions_type":["example"],"non_organic_only":true,"order":["-created_at"],"package_name":["example"],"pagination":{"limit":1000,"offset":0},"time_format":"rfc3339","time_window":{"from_not_include":false,"from_rfc3339":"2026-11-01T00:00:00Z","to_include":false,"to_rfc3339":"2026-11-02T00:00:00Z"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'https://restapi.affattr.com/v1/report/raw/conversions?time_format=rfc3339' \ --header 'API-KEY: <API-KEY>' \ --header 'Content-Type: application/json' \ --data '{ "app_id": [ 123 ], "blocked_reason": [ "example" ], "cap_id": [ 1 ], "conversions_type": [ "example" ], "non_organic_only": true, "order": [ "-created_at" ], "package_name": [ "example" ], "pagination": { "limit": 1000, "offset": 0 }, "time_format": "rfc3339", "time_window": { "from_not_include": false, "from_rfc3339": "2026-11-01T00:00:00Z", "to_include": false, "to_rfc3339": "2026-11-02T00:00:00Z" } }'Conversions (postbacks to partners) of the applications, by created_at of the conversion, the blocked ones included unless blocked_reason filters them out. Client API key only.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Format of the dates of the answer
Request Body required
Section titled “Request Body required ”Request
object
Applications by id. Empty together with package_name: every application of the key.
Example
[ 123]Why the conversion was blocked: geo, fraud, cap, or "" for a regular one. Empty list: all.
Conversion caps the conversion went over, 0 for the ones no cap fired on.
Conversion types.
Only conversions of non-organic installs.
Sort fields, a name or “-name” for descending; any other value is 400. Fields: created_at, id, conversion_type, event_time, inapp_event_time, app_id, partner_id, payouts, affise_device_id. Default: created_at.
Example
[ "-created_at"]Applications by package name.
Page of the answer.
object
Rows in the page: 10 when pagination is absent, 1000 when limit is 0, at most 10000.
Example
1000Rows to skip.
Example
0Format of the dates of the answer: rfc3339 (default) or proto ({“seconds”,“nanos”}). Also accepted as a query parameter.
Window by created_at of the conversion. Required.
object
Exclude the start of the window. By default it is included.
Example
falseWindow start, RFC 3339. Without a zone the time is UTC, a date alone is its midnight UTC. Absent, unparsable or in the future: now.
Example
2026-11-01T00:00:00ZInclude the end of the window. By default it is excluded.
Example
falseWindow end, RFC 3339, same rules as from_rfc3339. Absent, unparsable or in the future: now.
Example
2026-11-02T00:00:00ZResponses
Section titled “ Responses ”Conversions
object
object
Geo, fraud or cap; absent for a regular conversion.
Conversion cap the conversion went over; absent when no cap fired.
Time the conversion was created, UTC. The window of the report applies to it.
object
Time the row was written to the storage, UTC. Rewritten on reattribution.
Not filled by the report.
“sandbox” for a test device, “production” otherwise; empty means production.
Affise_event_id: id of the event, unique within the install.
object
Time the row was written to the storage, UTC. Rewritten on reattribution: do not page by it.
object
object
Time of the click, UTC.
GAID the ad network passed in the tracking link.
object
0 unknown, 2 dialup, 3 cable/DSL, 4 corporate, 5 cellular, 6 Wi-Fi.
ISO 3166-1 alpha-2.
IDFA the ad network passed in the tracking link.
Query parameters of the tracking link as received.
object
object
Tracking link the click came by.
object
object
Campaign name.
Time of the ad interaction as Google reports it, UTC.
Time of the attributed conversion as Google reports it, UTC.
object
IDFA.
GAID.
Install referrer.
First launch of the app after the install, from the SDK (or add_event), UTC.
0 unknown, 1 Google, 2 Apple, 3 Affise.
Attributed partner, absent for organic. For an agency key: the parent partner of the agency.
Changes on every reinstall: affise_device_id + random_user_id identify an install.
object
0 unknown, 2 dialup, 3 cable/DSL, 4 corporate, 5 cellular, 6 Wi-Fi.
ISO 3166-1 alpha-2.
Time the postback (or the add_event request) was received, UTC.
Created_time of the postback, UTC. See the Time section.
Id of the postback.
Event name (client event name, if set).
Numeric parameters of the event (affise_p_*), zeros omitted.
object
String parameters of the event (affise_p_*).
object
Affise_event_timestamp: time of the event, UTC. The window of the report applies to it.
Payout before the cap actions.
Payout to the partner.
Example
{ "conversions": [ { "event": { "environment": "production", "info": { "device": { "affise_device_id": "0b5b4d0e-7d4c-4a3c-9f62-2f7a1d1c0c11", "click_affise": { "created_at": "2026-11-01T10:00:00.123Z", "geo": { "connection_type": 0, "country": "DE" } }, "device_parameters": { "platform": "android" }, "first_open_time": "2026-11-01T10:05:00Z", "install_source": 0, "random_user_id": "9a4f0f5e-31d2-4c5b-8a0b-7e7d0f1c2b3a" }, "geo": { "connection_type": 0, "country": "DE" } }, "name": "Purchase", "timestamp": "2026-11-01T10:07:00Z" } } ]}Bad request
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}No credentials (answered with 403 until default-deny is enabled)
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}Invalid credentials or no access, an agency key too
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}Internal server error
object
What went wrong. 403 always says “Access denied”.
Id of the request, to quote to support.
Example
{ "error": "Access denied", "request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"}