Blip
← All guides

Get a push notification when someone signs up

Early on, every single signup matters, and refreshing your database is not a notification system. One fetch call after you create the user fixes that.

1

Create a Signups channel in Blip

Install the Blip iOS app, tap + to create a channel named Signups, and copy its key (it starts with blip_live_). Add it to your server env as BLIP_SIGNUPS_KEY.

2

Call Blip after the user is created

One HTTP POST, right after the user row exists. Only title is required. The optional url opens when you tap the push, so point it at your admin page.

your signup handler
// Wherever you create the user (API route, server action, auth callback):
await fetch("https://blipnotify.com/api/v1/notify", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.BLIP_SIGNUPS_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    title: "New signup",
    body: `${user.email} just signed up`,
    url: "https://yourapp.com/admin/users",
  }),
}).catch(() => {}); // never let a missed push break a signup
3

Test it from your terminal

Prove the pipe works before wiring the handler, straight from your terminal.

terminal
curl -X POST https://blipnotify.com/api/v1/notify \
  -H "Authorization: Bearer blip_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"title":"New signup","body":"sarah@example.com just signed up"}'

201 { "ok": true, "delivered": 1, "devices": 1 } · pushed to your iPhone

That's the whole setup.

Blip is free to try for 14 days, every feature included. After that it is $29.99/yr or $9/mo: see pricing.

Download on the App Store

More guides