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.

All zinn-campaigns 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/store-connect/campaigns/opt-outs

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

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

NameTypeRequiredWhat it is
after (query)string[]NoRepeatable, at most 50: <source id>~<cursor>, the cursor the last answer gave that source.

Response

NameTypeRequiredWhat it is
sourcesobject[]Yes—

Errors this endpoint can return

401 · 429