Alarm types · 3 min read

Webhook agents

A webhook alarm in LFG gives you a private link. Anything that can send a web request to it (a script, a bot, Zapier, IFTTT, a site monitor, a phone shortcut) rings the alarm on your phone and on the phones of the friends you shared it with. It rings like an alarm clock, not as one more notification to swipe away.

Also called: webhook alarm · API alarm · Zapier alarm

Download on the App StoreGet it on Google Play

Make a webhook alarm

  1. Tap Explore something, then 🌐 Webhook.

  2. Under Cooldown, pick 1, 5, 10 or 30 minutes, or 1 hour. That is how long after a ring further calls are ignored. 10 minutes is the default.

  3. Choose who it is for (private or friends) and tap Arm it.

  4. The Ring it from any AI or app window opens with every way to ring it. Each shows only its first few characters until you tap the eye:

    • Prompt for any AI, with a key in it, to paste into ChatGPT, Claude, a Mind or any AI.
    • Key, for an app or a script.
    • Email address: the subject is what your phone shows.
    • Ring link, for a script or a zap.

    Anyone who has one of them can ring your phone, so give them only to an AI or app you trust.

  5. To open the same window later, go to the alarm's page, find the Bring your own AI card and tap Keys, beside Copy for AI. The window also has Test fire (rings only your phone), New ring link (the old one stops working) and the keys you made, with Revoke.

Ring it with a POST request

Send an HTTP POST request to the link:

curl -X POST https://api.lfg.gm/horn/your-token

Replace the placeholder with your own link. Opening the link in a browser does nothing, and nothing you send is shown: it rings.

Other ways to call it:

  • Your own code: the SDK's ring(url), after npm install lfg-alarm or pip install lfg-alarm. No key needed. See LFG for developers.
  • GitHub Actions: the Ring my phone with LFG Alarm action (lfg-gm/ring-action@v1), with the link stored as a secret.
  • Node-RED: the LFG Alarm node, from Manage palette.
  • Uptime Kuma: a Webhook notification with the link as its Post URL. It also rings when the site comes back up.
  • Automation tools such as Zapier, Make, IFTTT, n8n, Home Assistant, Pipedream and Apple Shortcuts: a web request step that sends a POST to the link.

What people point at it

  • Your site is down. Point a site monitor's "down" alert at the link, private, 30m cooldown, so one outage rings once, not every minute.
  • A long job is done. Add the curl line to the end of a build or a training script and go to sleep. make release && curl -X POST <your link>.
  • A shared house alarm. An IFTTT applet that fires when the doorbell camera sees a parcel, shared with your flatmates as a friends alarm.
  • Guard the link like a password. If it leaks, tap New ring link and update whatever calls it.
  • Webhook alarms are never public, and people who joined cannot keep a copy if you delete one.
  • Deleted, the link answers "not found"; switched off, it says it is switched off, so a script you are debugging tells you the truth.
  • Once a second person joins it, the link is sealed too: New ring link no longer works on it.
  • On Android it rings full screen, even on Do Not Disturb. On iPhone it arrives as a time-sensitive alert with the alarm's own sound, which can come through Focus but respects the silent switch, so keep the ringer on.
questions people ask
Does the request need a body or a key?

No. The link is the secret. A plain POST is enough.

What if my bot calls it in a loop?

The cooldown ignores further calls until it runs out, so a loop rings you once per cooldown. See also How to make any app, script or feed ring your phone and Alert when something happens online.

keep exploring

One use case opens another.

Never miss the moment.

Free on Android and iPhone.

Download on the App StoreGet it on Google Play