<iframe> tag, listen for the success event, and let Anunnaki handle the rest — validation, persistence, master-list propagation, irrevocable-confirmation step for permanent exclusions, and webhook fan-out to every operator under the licence.
Embed
What it does
- Shows the user a duration picker (24h, 7 days, 30 days, 6 months, 1 year, Permanent)
- Permanent exclusions require an explicit irrevocability acknowledgement (KGC-mandated)
- Collects email or phone (at least one required) plus an optional free-text reason
POST /v1/iframe/exclusions— same validation, audit, and webhook fan-out as the operator-keyed/v1/exclusionsroute- Shows the user a success state with their reference ID
Listen for completion
ready— iframe loadedsubmitted— exclusion created;dataincludesexclusion_id,duration,is_permanenterror— submission failed;data.statusis the HTTP code,data.erroris the API error code
Webhooks (no change from /v1/exclusions)
The iframe submission fires the same webhook events as a direct API call:exclusion.created(always)exclusion.permanent(additionally, forduration_permanent)
Mobile
The form is responsive down to a 320px viewport. For modal embeds, give the iframeheight: 100vh on mobile so the user can scroll all the steps.
When to use the iframe vs the direct API
You can mix both — the iframe is a strict subset of the direct API.