How do I send a notification to my phone from Node.js?
POST to your Lert link with the built-in fetch. One call with a title and body and your phone buzzes — even locked in your pocket. No account, no API keys, no SDK, and no packages to install.
Node runs your servers, your build scripts, and your background jobs — all the places where something worth knowing about happens while you're looking elsewhere. Lert turns any of those moments into a buzz on your phone. Node 18+ ships with fetch built in, so there's nothing to npm install; because your Lert link is the credential, there's no key to manage either.
Set it up in under 30 seconds
- Download the app. Open it once — there's no account to create. Your private link is on screen.
- Copy your link. One tap copies
https://lert.dev/p/your-id. - POST to it from Node. Add one
fetchwherever you want the buzz.
Run it and your phone buzzes.
Example: with the built-in fetch
await fetch("https://lert.dev/p/your-id", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ title: "Job finished ✅", body: "Nightly export completed in 4m 12s", tag: "jobs" }) });
No auth header, no SDK — just fetch. Put it at the end of a task, in a catch block, or inside a route handler. On older Node, install node-fetch or use the built-in https module instead.
Tip: add .catch(() => {}) to the fetch in production so a Lert timeout can never take down the request or job it lives inside. The notification is a nice-to-have; your real work should never wait on it.
Related setups
- Send a notification from Python
- Get notified when someone signs up
- Get notified when you make a sale
- Send a push notification in one line
See the full Node.js guide and the webhook notifications use case. It's free for one channel and 50 notifications a day; Lert Pro is $2.99/month for unlimited. Full details in the docs.
One fetch, straight to your phone.
Download Lert, copy your link, add one fetch. Your phone buzzes when it matters.