Skip to content

ntfy push app

ntfy is a free, open-source push app for Android and iPhone. Argavon can page you through it on every plan, including Free and self-hosted installs. You do not need Twilio.

Why use it: on Android, ntfy can show a page even when Do Not Disturb is on. That makes it a free way to be woken at night.

Set it up

  1. Install the ntfy app: Google Play, F-Droid or the App Store.
  2. In Argavon, open My Notifications, pick ntfy (free push app) as the type. The Topic URL is filled with a random topic, such as https://ntfy.sh/neuroops-Xq3…. Keep it, or paste your own.
  3. In the ntfy app, tap +, enter the topic name (the part after the last /), and subscribe. For your own server, turn on Use another server and enter its URL.
  4. Back in Argavon, click Add, then Verify. A 6-digit code arrives in the ntfy app. Type it in and click Confirm.

The method is now verified and pages reach the app.

What a page looks like

  • Title: [CRITICAL] billing-api: Error rate above 5%.
  • A short body: the incident id, its status, service and severity.
  • Tapping the notification opens the incident.
  • Acknowledge acknowledges the incident as you, without signing in. It works for 24 hours after the page was sent.
  • Open opens the incident in the web app.

High-urgency pages are sent with ntfy's highest priority (5, "max"). Low-urgency pages, tests and verification codes use the default priority (3). See urgency and quiet hours.

Let pages through Do Not Disturb

Android: the ntfy app has one notification channel per priority. Long-press the ntfy app icon, tap App info, then Notifications. Open the channel for max priority and turn on Override Do Not Disturb (on some phones: Ignore Do Not Disturb). Then send a test from My Notifications with Do Not Disturb on.

iPhone: iOS does not let ntfy break through a Focus by itself. Add ntfy to the apps allowed in your Focus: Settings, Focus, Do Not Disturb (or the Focus you use at night), Apps, Add, ntfy.

Privacy: topics on ntfy.sh are public

On the public server, anyone who knows a topic name can read its messages. A page holds the incident title, service and a link (the link still needs a sign-in, except for the Acknowledge button, which acknowledges only that incident, only as you).

  • Keep the random topic Argavon suggests. Do not use a guessable name like alerts.
  • For more protection, reserve the topic on an ntfy.sh account, or run your own server with access control, and add an access token (tk_…) in the Access token (optional) field. Argavon sends it as Authorization: Bearer <token>.
  • Argavon stores the topic URL and the token encrypted. It only ever shows the topic URL masked (https://ntfy.sh/…) and never shows the token again.

Your own ntfy server

You can run ntfy yourself (self-hosting guide). Use your server's topic URL as the address, for example https://ntfy.example.com/oncall-7f3a. A server under a path also works: https://example.com/ntfy/oncall-7f3a.

  • The address must use https://. Plain http://, and servers on private or local addresses, are only accepted when the Argavon server sets NOTIFY_ALLOW_PRIVATE_TARGETS=true.
  • To keep topics private, set up access control on your server, create a token with ntfy token add <user>, and give the user write access to the topic.
  • The Acknowledge button posts to FRONTEND_ORIGIN/api/v1/push/ack, so the phone must be able to reach your Argavon URL. When FRONTEND_ORIGIN is not set, pages have no Acknowledge or Open button.

Errors

Error Fix
use an ntfy topic URL such as https://ntfy.sh/your-topic … The address must end in a topic name: letters, digits, - and _, up to 64 characters, with no ? part.
URL must use https Use https://, or ask your admin to allow private targets.
access token has spaces or characters a token cannot have Paste the token alone, without Bearer.
Delivery failed: receiver answered HTTP 403 The topic is reserved or protected. Add a token with write access.
Delivery failed: receiver answered HTTP 429 ntfy.sh rate limit. Argavon retries.