public
GET /v1/public/site-optin/config
Whether a hosted site shows the visitor offers box, and its exact wording.
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
| Name | Type | Required | What it is |
|---|---|---|---|
host (query) | string | Yes | The site's primary domain, lower-case, no port. |
locale (query) | string | No | BCP-47; unknown falls back to en. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
enabled | boolean | Yes | false = render NO box. |
category | string | Yes | — |
wording | SiteOptinWording | Yes | — |
Errors this endpoint can return
429