zinn-campaigns
GET /v1/public/email-marketing/connect.js
The website snippet (the same small script for every site, cached a day).
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/public/email-marketing/connect.jsSigned 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
Add <script async src=".../connect.js" data-zinn-key="zcp_..."></script> to any page. It hands in every form submit that has an e-mail field (opt in to fewer forms with data-zinn-forms="<css selector>", skip one with data-zinn-ignore, map fields with data-zinn-field="email|consent|...", name the consent box with data-zinn-consent). It never blocks or changes the form, and swallows its own errors.