The inline consent stub for a server-side plugin (WordPress plugin)
GET/api/public/consent/stub
Doc 106 §21 — what the WordPress plugin reads when its settings are
saved and then hourly, with the widget key and the site's own address
as Origin, so a WordPress site never pastes the stub: whether
ConnectWiz consent is on, the install mode, the banner version and
code — the stub's JavaScript WITHOUT its <script> tags, the same
text the panel's install block carries (Consent Mode default with the
site's region rules). code is null unless the page needs it:
consent off, or mode B (the GTM template sets the defaults). Same
keys, domain check, CORS and rate limit as getWebsiteTouchConfig.
Cache-Control: private, max-age=300.
Request
Responses
- 200
- 401
- 403
- 429
The stub, or why there is none.
No key (missing_key) or an unknown one (unknown_key).
site_disabled, site_not_linked, origin_not_allowed, origin_required.
Rate limit exceeded.
Response Headers
Request quota for the current window.
Remaining requests in the current window.
Seconds to wait before retrying.