ads
GET /v1/ads/connect/meta/callback
Meta returns the browser here after the person authorises Zinn® Ads.
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
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/connect/meta/callbackSigned 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
Unauthenticated by design: its authority is the signed state (signed for Meta — a Google, Microsoft or X state is refused). error (the person said no) is connect=cancelled; a missing code, a sign-in without ads_read (connect=scope) or an expired sign-in is refused. The short-lived token is exchanged for a long-lived one and kept in Vault only. Always answers with a redirect to the dashboard.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
state (query) | string | No | — |
code (query) | string | No | — |
error (query) | string | No | — |