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.

Create free account

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 button
data-softasktrueShow the branded opt-in modal after a delay
data-positionbottom-rightbell corner (bottom-left, top-right, top-left)
data-color#e35d5bPrimary color for bell + modal
data-delay8000ms before the soft-ask appears
data-cooldown-days7Days to wait before re-asking after decline
data-prompt-titleCustom modal headline
data-prompt-bodyCustom modal body copy
data-allow-labelAllowAllow button text
data-deny-labelNot nowDecline button text

Platform guides

Copy-paste instructions for popular platforms:

Ready 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.