ads

GET /v1/ads/tracking-hub

The tracking hub — every network tag, conversion id and server-side key status.

All ads endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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-hub \
  -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 (docs/1006 §104, za-126). One hub per organisation: the browser tag id of each network (Google Ads, GA4, Microsoft UET, Meta pixel, TikTok, LinkedIn Insight, X, Pinterest, Amazon), the conversion id per network and outcome kind, and WHICH server-side keys are set (never the key: it is kept only in Vault). server_routes says per network how server-side conversions travel: through a connected ad account, through a key in the hub, or not at all. Every site tag (za-128) serves the hub's ids where it leaves its own blank. An organisation with no hub yet answers version: 0.

Parameters

NameTypeRequiredWhat it is
org_id (query)stringNoRequired when you belong to more than one organisation.

Response

NameTypeRequiredWhat it is
org_idstringYes—
tagsobjectYesNetwork -> its browser tag id (google_ads, ga4, microsoft_uet, meta_pixel, tiktok_pixel, linkedin_insight, x_pixel, pinterest_tag, amazon_tag, chatgpt_pixel).
conversionsobjectYesNetwork -> outcome kind -> conversion id (a Google Ads label, a Meta custom conversion, a TikTok event …).
server_keysobject[]Yes—
server_routesobjectYesNetwork -> how its server-side conversions travel.
server_sendsobjectYesKey kind -> what that key really sent (docs/1006 §122), computed from the per-outcome delivery receipts. Only outcomes whose source reported ad_user_data consent GRANTED are sent,…
networksstring[]Yes—
kindsstring[]Yes—
versionintegerYes0 when no hub has been saved yet.
updated_atstringYes—

Errors this endpoint can return

401 · 403 · 404 · 422