zinn-campaigns
GET /v1/store-connect/campaigns/opt-outs
The Zinn® Campaigns WordPress plugin pulls the opt-outs of every list fed from its site.
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/store-connect/campaigns/opt-outsSigned 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
Store token only (Authorization: Bearer zou_…). Opt-outs flow back by the site PULLING them: the read-only database login a site source uses never writes. Only site sources of the token's own org whose site's primary domain is the store's host are read; a paused source still answers (pausing stops the import, never consent). One page per source: an unsubscribed member of the source's list, or a contact suppressed everywhere (unsubscribed, bounced, complained). Keep calling, passing each source's cursor back, while any source returns a non-null next; nothing is capped. A cursor that cannot be read restarts that source from the beginning.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
after (query) | string[] | No | Repeatable, at most 50: <source id>~<cursor>, the cursor the last answer gave that source. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
sources | object[] | Yes | — |
Errors this endpoint can return
401 · 429