zinn-campaigns
GET /v1/email-marketing/cold/oauth/{provider}/callback
Where Google or Microsoft returns the browser after the sign-in.
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/email-marketing/cold/oauth/{provider}/callback?state=<state>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
Anonymous (the provider redirects a browser with no token); authorised by the signed state alone, valid ten minutes, and only on the callback of the provider the state was minted for. Always answers 302 to the Cold Outreach page with mailboxOAuth=connected|reconnected|cancelled|scope|refused|failed.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
provider (path) | string<google, microsoft> | Yes | — |
state (query) | string | Yes | — |
code (query) | string | No | — |
error (query) | string | No | — |