Web push REST API (v1)
Send a notification to one subscriber, record events from your backend, and manage websites, subscribers, segments, campaigns and flows over JSON. Available on Pro and Business.
Authentication and rate limits
Create a key under Dashboard, then API keys, and send it in the Authorization: Bearer swk_... header. Keys are read or read_write. POST requests accept an Idempotency-Key header so a retried request is never applied twice. Each key can make 120 requests a minute.
curl -sH "Authorization: Bearer swk_YOUR_API_KEY" \ "https://superwicket.com/api/v1/me"
Endpoints
Get authenticated account, current plan, and monthly usage meters.
List websites belonging to your account (paginated).
Create a website and generate (or import) its VAPID key pair.
Retrieve a single website.
Update website settings or defaults.
Delete a website and its associated data.
Queue installation verification of pixel tag and service worker.
Get PWA manifest settings and generated icon keys.
Update PWA manifest configuration (requires pwa feature).
List subscribers with status, country, device, and search filters.
Fetch a subscriber profile and custom parameters.
Merge custom parameters or mark subscriber as tester.
Delete a subscriber permanently.
Retrieve delivery and event timeline for a subscriber.
Import JSON array of push subscriptions.
Export website subscribers as JSON.
Query analytics breakdowns (countries, browsers, os, devices, languages, optin, overview).
List opt-in widgets configured for a website.
Create a new opt-in widget.
List saved audience segments.
Preview live subscriber count and 10 sample matches for rule JSON.
List campaigns for a website.
Create a campaign (optionally triggering immediate send).
Schedule or immediately launch a draft campaign.
Cancel a scheduled or in-progress campaign.
Get variant, button, country, and device breakdown for a campaign.
Paginated delivery log for a campaign.
List visual automation flows.
Validate and publish a new flow version.
Pause an active flow.
Resume a paused flow.
Retrieve node-by-node funnel statistics for a flow.
List recurring campaigns.
List RSS feed automations.
Queue an immediate RSS feed check.
Send a 1-to-1 notification by subscriber UID or custom param lookup.
Record a server-side custom event for a subscriber and trigger matching flows.
List notification handlers (email, webhook, internal).
List subscription payments and invoices.