Skip to main content
POST
Create Popup
Create a saved popup and get the one-line script tag that deploys it. The popup is published by default, so the script is live as soon as it is added to the site. Trigger, targeting, audience, and duplicate handling stay server-side, so the deployed script carries no API key. Omit listIds to capture into every list, matching the dashboard default.

Request

string
required
Internal popup name.
string
Starting design: newsletter-modal, discount-offer, countdown-launch, minimal-slide-in, exit-lead-magnet, live-demo, launch-modal, paper-digest, stark-takeover, top-bar, announcement-bar, or fullscreen-welcome. Defaults to newsletter-modal.
string
draft or published. Defaults to published.
string[]
Lists every signup joins. Omit or pass an empty array to capture into every list.
string[]
Existing tag IDs to apply.
string
skip, merge, or overwrite. Defaults to skip.
string
Text for the popup’s first heading block.
string
Text for the popup’s first paragraph block.
string
Submit button label.
string
Confirmation shown when redirectUrl is omitted.
string
Optional HTTP or HTTPS success redirect.
string
modal, slide-in, floating-bar, or fullscreen.
string
center, left, right, top, or bottom.
object
When the popup opens: { "type": "delay" | "scroll" | "exit-intent" | "click" | "manual", "delaySeconds": 0-3600, "scrollPercent": 1-100, "clickSelector": "#join" }. A click trigger requires a clickSelector.
object
Where it may show: { "domains": [], "paths": [], "excludedPaths": [], "device": "all" | "desktop" | "mobile" }. Empty arrays mean no restriction.
object
Optional run window: { "startsAt": "2026-09-01T00:00:00Z", "endsAt": "2026-09-08T00:00:00Z" }. endsAt must be later than startsAt.
object
How often one visitor sees it: { "maxDisplays": 1-100, "windowDays": 1-365 }.
object
Media panel and urgency treatment: { "style": "none" | "accent" | "header" | "rail" | "image" | "countdown", "placement": "top" | "left" | "center" | "right", "imageUrl": "https://...", "imageAlt": "...", "countdownMinutes": 1-10080 }.
object
Visual theme overrides: accentColor, backgroundColor, textColor, mutedTextColor, cardColor, borderColor (all #rrggbb), borderRadius (0-32), headingFontFamily, bodyFontFamily, density.
object[]
Complete replacement for the popup’s content blocks. The popup must keep exactly one required email field and one submit button.

Responses