Emergency alerts

Emergency alerts that keep ringing until someone acknowledges

PushPiper emergency alerts repeat at least 30 seconds apart until acknowledged, for up to 3 hours, free for 10,000 messages a month. One request can alert a whole group, and emergency repeats do not count against the monthly quota or add carrier fees.

How emergency priority repeats and expires

When an outage happens at 3 a.m., a standard push notification is easy to miss. If you sleep through the chime, your monitoring tool assumes you heard it, and the incident sits unattended. PushPiper handles this with emergency priority (priority=2). When you post an alert with priority 2, the server sends the notification immediately, then waits and sends it again. It keeps ringing the target devices until someone taps acknowledge, the message expires, or it hits the hard limit of 50 repeats.

Every emergency request requires two timing parameters: retry and expire. The retry parameter specifies how many seconds the system waits between delivery attempts. The minimum interval is 30 seconds. The expire parameter sets the total lifespan of the alert in seconds, up to a maximum of 10,800 seconds (3 hours). If nobody acknowledges the notification within that window, delivery stops automatically so your team doesn't get buzzed indefinitely for an abandoned alert.

Repeated dispatches do not consume extra message quota. If an alert retries 40 times before someone wakes up, that entire sequence counts as just one delivered message per recipient.

The table below compares the parameters you send with an emergency notification and their accepted limits.

ParameterWhat it doesLimit
priority=2Repeats the alert until someone acknowledgesEmergency only
retrySeconds between repeats30 or more
expireWhen repeats stopUp to 10,800 (3 hours)
callbackURL we POST to on acknowledgeUp to 512 characters
tagsLabels to cancel alerts in bulkComma-separated
soundAlert sound23 built-in sounds

Sending emergency alerts to a team

You can send an emergency alert directly to a single person using their 30-character user key, or to a shared group key. Group keys let you broadcast the same incident to an entire team at once, supporting up to 500 members per group. When you send to a group, the notification rings on everyone's hardware simultaneously, but the first person to acknowledge it silences the repeats for everybody else.

Teams that need shared infrastructure can use the Team plan at EUR 5 per user a month, which includes 25,000 shared messages each month and shared group administration. You can review all plan tiers on the PushPiper pricing page.

To trigger an alert from your monitoring stack, backend services, or shell scripts and cron jobs, submit an HTTP POST request to the messages endpoint.

curl
curl -s https://api.pushpiper.com/1/messages.json \
  --form-string "token=APP_TOKEN" \
  --form-string "user=GROUP_KEY" \
  --form-string "title=Database down" \
  --form-string "message=db-1 stopped answering at 03:12" \
  --form-string "priority=2" \
  --form-string "retry=60" \
  --form-string "expire=3600" \
  --form-string "tags=db-1" \
  --form-string "callback=https://example.com/hooks/acked"

In the request above, replace these values with your own:

  • APP_TOKEN: Your 30-character application token from the PushPiper dashboard.
  • GROUP_KEY: The target user key, group key, or up to 50 comma-separated user keys.
  • tags: An optional identifier, like db-1, used to cancel active alerts in bulk when a server recovers.
  • callback: A public HTTPS endpoint on your side where PushPiper will POST an event payload as soon as someone acknowledges the alert.

If you already have scripts written for Pushover, this request structure will look familiar. PushPiper uses the same endpoint path, parameters, and response structures, so you can migrate from Pushover by changing the API host and keys.

Acknowledging alerts and polling receipts

When an emergency notification arrives, team members can silence it right away. Where the browser supports notification action buttons (Chrome, Edge, and other Chromium browsers), the alert popup shows an Acknowledge button. Tapping that button stops future repeats instantly. On Safari and Firefox, where notification buttons aren't supported by the browser engine, you silence the alert by opening the message inside the PushPiper web app and tapping Acknowledge.

When you dispatch an emergency message, the API response returns a unique receipt string. PushPiper stores these receipts for 7 days. You can poll the receipt endpoint to check the state of the incident, inspect who handled it, or cancel the repeats programmatically when an automated recovery script resolves the problem.

curl
curl -s "https://api.pushpiper.com/1/receipts/RECEIPT.json?token=APP_TOKEN"

curl -s https://api.pushpiper.com/1/receipts/cancel_by_tag/db-1.json \
  --form-string "token=APP_TOKEN"

In this snippet, make sure to replace:

  • RECEIPT: The receipt string returned in the JSON body of your initial message dispatch.
  • APP_TOKEN: Your 30-character application token.
  • db-1: The tag name you passed during creation when you want to cancel open alerts across that service.

When polling a receipt, limit your checks to no more than once every 5 seconds. The receipt JSON returns fields including acknowledged (1 or 0), acknowledged_at (a Unix timestamp), acknowledged_by (the user key of the person who acknowledged it), last_delivered_at, expired, and expires_at.

If your server sets a callback URL during the initial dispatch, you don't need to poll continuously. PushPiper makes an HTTP POST request to your callback URL the second a user taps acknowledge.

Building a simple escalation workflow

PushPiper does not include automated escalation policies, but you can build a lightweight escalation runner in a few lines of code using the receipt endpoint. This lets solo engineers and small teams set up multi-tier on-call alerts without paying for complex incident management software.

  1. Trigger the primary alert by calling /1/messages.json with priority=2, pointing to your primary engineer's user key.
  2. Capture the receipt token returned in the JSON response and store it in your runner or script state.
  3. Sleep for your escalation threshold, such as 600 seconds (10 minutes).
  4. Query the receipt endpoint using GET /1/receipts/RECEIPT.json?token=APP_TOKEN.
  5. Check the acknowledged field in the response data. If acknowledged is still 0 and expired is 0, send a new emergency alert to your backup engineer or your entire team group key.

This DIY pattern gives you basic two-tier escalation. If the primary responder acknowledges the incident within 10 minutes, your script sees acknowledged=1 and exits quietly. If they sleep through it, the backup hears about it automatically.

What PushPiper does not do

Before using PushPiper for production alerting, you should understand its structural boundaries. Many teams looking for PagerDuty alternatives want a simple, budget-friendly ping, but PushPiper is not a full-featured incident platform.

  • It has no on-call schedules, shift calendars, or rotation handoffs.
  • It does not make telephone calls or send SMS text messages.
  • There are no native apps in the Apple App Store or Google Play Store yet. Delivery relies on Web Push installed directly from your browser.
  • It cannot be self-hosted; delivery runs entirely through the hosted PushPiper service.
  • It cannot bypass operating system focus modes on Apple hardware.

On iPhones and iPads running iOS 16.4 or later, you install the app by opening pushpiper.com/app in Safari, tapping Share, and choosing Add to Home Screen. Notifications behave like standard web pushes. If an engineer flips their iPhone into Do Not Disturb, iOS silences incoming pushes regardless of priority. If your team requires phone calls that ring through silent switches, you'll need a dedicated voice paging service instead.

Sources

    Questions and answers

    Can I acknowledge an alert directly from the notification?

    Yes, if you use Chrome, Edge, or another Chromium browser that supports action buttons on notifications. On Safari and Firefox, you must tap the notification to open PushPiper in your browser and tap Acknowledge inside the app.

    Do repeated emergency alerts count against my monthly message quota?

    No. An emergency notification counts as one message per recipient regardless of how many times it retries. The 50 retries allowed per incident do not consume extra message credits.

    How often can my backend poll the receipt endpoint?

    You may poll a receipt at most once every 5 seconds. If you need immediate notification when an alert is silenced, supply a callback URL so PushPiper can POST to your system instantly.

    What happens if an alert hits the 3-hour expiration limit?

    The delivery engine stops sending repeat notifications immediately. The receipt status marks the incident as expired, and the alert remains visible in your inbox history without generating further sound.

    How do I stop all repeating alerts after an incident is resolved?

    You can cancel an alert by calling the cancel endpoint with the receipt ID, or call the cancel-by-tag endpoint using the tag you assigned at dispatch. Canceling immediately halts any remaining retries.

    Free for 10,000 messages a month

    Sign in with Google and send your first ping in a minute.

    Get started for free