ads

GET /v1/ads/connect/linkedin/callback

LinkedIn returns the browser here after the member 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/linkedin/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 LinkedIn — a state signed for another network is refused). error (the member cancelled, e.g. user_cancelled_login) is connect=cancelled; a missing code, a sign-in without both ad scopes or an expired sign-in is refused. The code is exchanged for a refresh token (a year; LinkedIn does not rotate it) kept in Vault only. Always answers with a redirect to the dashboard.

Parameters

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