public

GET /v1/public/site-optin/config

Whether a hosted site shows the visitor offers box, and its exact wording.

All public 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/public/site-optin/config?host=<host>

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, read by the forms on a site we host. enabled: false (or any failure) means render NO box. An unknown host answers enabled: false with 200, never a 404, so this is no oracle for which domains we host. wording.version names the exact text shown; ingest refuses a version that was never served. Cached for 300 s (Cache-Control: public, max-age=300, CORS *), so an "off" removes the box within five minutes everywhere, and ingest refuses at once.

Parameters

NameTypeRequiredWhat it is
host (query)stringYesThe site's primary domain, lower-case, no port.
locale (query)stringNoBCP-47; unknown falls back to en.

Response

NameTypeRequiredWhat it is
enabledbooleanYesfalse = render NO box.
categorystringYes—
wordingSiteOptinWordingYes—

Errors this endpoint can return

429