ads
GET /v1/ads/tracking/events
The event debugger — every real outcome and what each ad network did with it.
Authentication
Send an API key as a bearer token. The key must carry the ads.view permission; a key without it is refused with 403, not 404.
Where your organisation id goes
This endpoint takes org_id as a query parameter. Leave it out and the call covers your whole tenancy subtree; send it to narrow the call to one organisation.
Your organisation id is on the API keys screen in your dashboard, beside the key itself. It is the same id in every call you make.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/ads/tracking/events \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Gated on ads.view; read-only (nothing is uploaded or retried). docs/1006 §21, za-130. Every real outcome (sale, trial, lead, sign-up, activation) the organisation's connected ad accounts received in the window, ONE row per event (kind, external_ref) — the same order sent to a Google and a Microsoft account is one row with two networks — newest first. Each network row says whether the network accepted it (uploaded), rejected it (with the network's reason), it is waiting to send, or it is not_sendable (no click id or hashed e-mail, outside the network's window, or a kind the network takes no upload for), plus the value corrections (refunds, a trial that became a sale) sent after it. summary counts the same window and filters per network. Keyset-paged over (occurred_at, kind, external_ref): follow page.next_cursor until page.has_more is false (no limit on pages). A filter, window, page size or cursor this endpoint did not issue is a 422 (refusal.adsconnect.badEventsQuery), never a silent default.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
org_id (query) | string | No | Narrow to one of your organisations (default: all you can view). |
network (query) | string<google, microsoft, meta, linkedin, tiktok, x, pinterest, amazon> | No | — |
status (query) | string<accepted, rejected, waiting, not_sendable> | No | Only events with a network row in this state. |
days (query) | integer | No | How many days back (by when the outcome happened). |
limit (query) | integer | No | — |
cursor (query) | string | No | The page.next_cursor of the previous page, passed back verbatim. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | AdsTrackingEvent[] | Yes | — |
page | PageMeta | Yes | — |
summary | AdsTrackingEventsSummary[] | Yes | Per network, for the same window and filters. |
window | object | Yes | — |
Errors this endpoint can return
401 · 403