ads

GET /v1/ads/connect/amazon/callback

Login with Amazon returns the browser here after the person authorises Zinn® Ads.

All ads endpoints

All developer docs →

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

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/amazon/callback

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

Unauthenticated by design: its authority is the signed state (signed for Amazon — a state for any other network is refused). error (the person said no) is connect=cancelled; a missing code, a sign-in without advertising::campaign_management (connect=scope) or an expired sign-in is refused. The refresh token is kept in Vault only (Login with Amazon refresh tokens do not rotate). Always answers with a redirect to the dashboard.

Parameters

NameTypeRequiredWhat it is
state (query)stringNo—
code (query)stringNo—
error (query)stringNo—