Docs
Get started in 3 minutes
One script tag on any HTML site is enough to start collecting subscribers. Send notifications from your backend with a simple POST.
1. Create a project
Sign up, click New project, and copy your APP_ID. Every project gets its own VAPID keys and API keys generated automatically.
2. Add the SDK to your site
Paste this one line into any HTML page (before </body>). A floating bell + soft-ask prompt appears automatically.
html
<script src="https://pushdash-io.lovable.app/api/public/sdk/YOUR_APP_ID.js" async></script>3. Send a notification
From your backend (Node, PHP, Python, anything):
bash
curl -X POST https://pushdash-io.lovable.app/api/public/v1/notifications/send \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Hello","message":"Welcome back!","click_url":"https://example.com"}'Configuration options
All optional. Attach as data-* attributes on the script tag.
data-belltrueShow the floating bell buttondata-softasktrueShow the branded opt-in modal after a delaydata-positionbottom-rightbell corner (bottom-left, top-right, top-left)data-color#e35d5bPrimary color for bell + modaldata-delay8000ms before the soft-ask appearsdata-cooldown-days7Days to wait before re-asking after declinedata-prompt-title—Custom modal headlinedata-prompt-body—Custom modal body copydata-allow-labelAllowAllow button textdata-deny-labelNot nowDecline button textReady to send your first notification?
Create a free project, drop one line of JavaScript into any site, and start sending push notifications in under 3 minutes.