Notifications¶
Decide where a page reaches you, and how long Argavon waits before it tries the next way.
Paging and notifications are part of the free core. They never need a license.
How a page reaches you¶
- Something pages you: an escalation policy step, or a teammate who presses Page on an incident.
- Argavon reads your notification rules. Each rule says "notify this contact method after N minutes".
- Each rule becomes one delivery. A rule with delay 0 goes out at once; the others wait.
- When someone acknowledges or resolves the incident, every delivery that has not gone out yet is cancelled.
Only verified contact methods are used. A method you have not verified never receives a page.
Urgency and quiet hours¶
Every incident pages with an urgency, shown next to its severity:
- High (severity critical or high): your rules run as set, except that a phone call never comes sooner than 2 minutes after your first SMS, push or chat message. Acknowledge that message and the call is cancelled.
- Low (severity medium, low or info): never a phone call. Outside your quiet hours, your other rules run as set. Inside them nothing is sent; when they end you get one message listing the low-urgency incidents that are still open. Incidents acknowledged or resolved overnight are left out, and if none is left, nothing is sent.
Your quiet hours are 22:00 to 08:00 in your time zone (Asia/Kolkata until you pick yours). Change them, or turn them off, under My notifications.
A low-urgency incident becomes high, and pages again at once (also in quiet hours), when an alert raises its severity to high or critical, or when it is still open 30 minutes after it opened and another alert arrives.
An admin can make a service always page as high or always as low urgency, whatever the severity (PUT /api/v1/service-urgency). This needs the Pro or Enterprise plan in the cloud, or a license that includes advanced urgency rules when self-hosted.
Contact method types¶
What you can add depends on how the server is set up. The Type list in the web app shows only the types this server can deliver.
| Type (API value) | Label in the web app | Address | Server setup needed | Verified by |
|---|---|---|---|---|
push |
Browser push | Added by the Enable on this browser button | None (VAPID key is generated if not set) | A delivered notification |
email |
you@example.com |
EMAIL_PROVIDER (SMTP or SES) |
A 6-digit code | |
sms |
SMS | Phone number in international format, such as +14155550100 |
Twilio or a relay | A 6-digit code by text |
voice |
Phone call | Phone number in international format | Twilio or a relay | A 6-digit code read out in a call |
ntfy |
ntfy (free push app) | ntfy topic URL (https://ntfy.sh/<topic> or your own ntfy server), optional access token |
None | A 6-digit code sent to the ntfy app. See ntfy |
slack |
Slack | Slack incoming webhook URL (https://hooks.slack.com/services/…) |
None | A 6-digit code posted to the channel |
teams |
Microsoft Teams | Teams incoming webhook or Workflows URL | None | A 6-digit code posted to the channel |
webhook |
Webhook | Any https:// URL |
None | A delivery answered with HTTP 2xx |
Server-side settings for email, Twilio and browser push are in the configuration reference (section "Integrations and notifications"). In short:
- Email needs
EMAIL_PROVIDER(smtporses) andEMAIL_FROM. Without it, the email type does not appear. - SMS and phone calls need
TWILIO_ACCOUNT_SID,TWILIO_AUTH_TOKENand a from number, or, on a self-hosted install without Twilio, a relay key (RELAY_URLandRELAY_KEY, see SMS and voice relay). Without either, the SMS and voice types do not appear. - Delivery reports and the phone keypad need Twilio to reach the server:
TWILIO_CALLBACK_BASE, which defaults toFRONTEND_ORIGINwhen that ishttps://. Without it, an SMS or call counts as sent once Twilio accepts it, nobody can acknowledge from the keypad, and unanswered calls are not repeated. - Browser push works without setup. Set
VAPID_PRIVATE_KEYonly if you want to manage the key yourself. - Webhooks to private addresses (10.x, 192.168.x, localhost) or plain
http://are refused unless the server setsNOTIFY_ALLOW_PRIVATE_TARGETS=true.
On a self-hosted install SMS and calls go through your own Twilio account and are never capped (they are still counted). On Argavon Cloud the plan includes a number of them each month and a daily guard against paging loops; see Plan and billing. When a cap is reached, SMS and call deliveries fail with a clear reason and your other methods (email, push, webhook, Slack, Teams) still work. The My Notifications page shows the month's use when SMS or voice is available.
Set up your notifications in the web app¶
Open My Notifications (under Platform in the side bar). Everyone can open it, whatever their role. Nobody else sees your methods or rules.
Add a contact method¶
- In Contact methods, pick a Type, type an optional Label (up to 60 characters, for example "Work phone") and the Address.
- Click Add. The method shows not verified.
- Click Verify.
- Email, SMS, phone call, Slack, Teams: a 6-digit code is sent. Type it in the box next to the method and click Confirm. The code expires after 15 minutes. You can resend after 60 seconds. After 5 wrong codes, request a new one.
- Webhook: Argavon sends a verification request. The method is verified as soon as your endpoint answers with a 2xx status.
- Once verified, click Send test to see a real message arrive.
When you add a webhook, Argavon shows its signing secret once. Copy it before you click I saved it. You cannot see it again.
Browser push¶
Click Enable on this browser. The browser asks for permission, Argavon adds the browser as a contact method and sends a notification. The browser is verified when that notification arrives.
Pages arrive as notifications with Acknowledge and Open buttons. They stay on screen until you act on them.
Each browser is its own contact method. Enable push on every browser where you want pages.
Notification rules¶
In Notification rules, pick a verified method under Notify, set After (minutes) (0 to 1440), and click Add rule.
Example: push immediately, SMS after 2 minutes, phone call after 5 minutes:
- Notify Laptop browser immediately
- Notify My phone (SMS) after 2 minutes
- Notify My phone (call) after 5 minutes
If you acknowledge after the push, the SMS and the call never go out.
Your first verified method pages you at once, phones join the ladder
When you verify your first contact method and you have no rules yet, Argavon adds a rule for it with no delay. You get paged even if you never open the rules section. A phone you verify after that is added to your ladder: an SMS number one minute in, a phone call three minutes in. A page that is not acknowledged moves to the louder channel. Delete or change those rules as you like.
The rules are shown in the order they fire. If the phone network reports that a page did not reach you (an SMS that was not delivered, a call nobody answered, a voicemail), your next rule for that incident goes out at once instead of waiting for its delay.
Limits: 20 contact methods and 50 rules per person. One method cannot have two rules with the same delay.
Recent deliveries¶
Recent deliveries shows the last 25 messages sent to you: time, kind (page, test, verify), channel, subject, status, Reached you and detail.
Reached you is what the phone network reported for SMS and calls: "reached the phone in 12 s", "answered in 8 s", "acknowledged on the call", "went to voicemail", "did not reach the phone: Twilio error 30003", or "waiting for the network's report". Other channels have no such report, so the column shows a dash.
| Status | Meaning |
|---|---|
pending |
Waiting for its delay, or waiting to retry. The detail shows when. |
sending |
Being sent now. |
sent |
Accepted by the provider or receiver. |
failed |
Gave up. The detail shows the last error. |
cancelled |
Not needed any more, for example "incident acknowledged" or "contact method deleted". |
suppressed |
Held back by storm protection (see below). |
A failed send is retried with a growing wait: 30 seconds, then doubling up to 10 minutes. Pages are tried up to 5 times, tests and verifications up to 3 times. Errors that will never succeed (a rejected address, an HTTP 4xx answer) are not retried.
Page someone from an incident¶
Operators and admins see a Page button on an open incident.
- Open the incident and click Page.
- Pick the Person. People with no verified method and rule are marked "not reachable".
- Click Page. The dialog says how many notifications were queued, or why nothing was sent.
The person is notified through their own rules. The Pages tab on the incident lists every page: who, which channel, status and detail. It refreshes every few seconds while open.
Paging the same person for the same incident again within the same 10-minute window queues nothing. A double click never pages twice.
The first person paged on an unassigned incident becomes its assignee.
Acknowledge from a notification¶
- Browser push: click Acknowledge on the notification. You do not need to be signed in. The notification turns into "Acknowledged" ("You own this now. Escalation has stopped."), or "Already handled" if someone was faster. The incident timeline records "Acknowledged from a browser notification by
". The button works for 24 hours after the page was sent. - ntfy: tap Acknowledge on the notification. Like browser push, it needs no sign-in, works for 24 hours, and the timeline records "Acknowledged from a browser notification by
". Open opens the incident. See ntfy. - Email, SMS, Slack, Teams: the message contains a link to the incident. Open it and click Acknowledge in the web app.
- SMS reply: reply 1 (or ack) to a page SMS. It acknowledges, as you, the newest page sent to that number whose incident is still open, and answers "Acknowledged:
", or "Nothing to acknowledge." when nothing is open. The timeline records "Acknowledged by SMS reply by ". This needs the Twilio setting in SMS replies. - Phone call: the call reads the incident and asks you to press a key: 1 acknowledges it (as you), 2 escalates to the next person at once, 9 reads it again. With no key, it repeats once and hangs up. The timeline records "Acknowledged by phone (keypad) by
". A call answered by voicemail does not count as reaching you.
Users with the viewer role cannot acknowledge, also not from a push notification.
SMS replies¶
Replies reach Argavon only when Twilio knows where to send them. In the Twilio console, open the number in TWILIO_FROM_NUMBER (or each number of TWILIO_MESSAGING_SERVICE_SID) and, under Messaging, set A message comes in to Webhook, HTTP POST:
<TWILIO_CALLBACK_BASE>/api/v1/hooks/twilio/sms
TWILIO_CALLBACK_BASE must be the exact public origin Twilio calls (it defaults to FRONTEND_ORIGIN when that is https://): Twilio signs the full URL, and a request whose signature does not match is refused with 403. Page SMS say "Reply 1 to acknowledge." only when TWILIO_CALLBACK_BASE is set. A reply from a number that is not a verified SMS method gets no answer. Replies do not work through the relay.
Make sure a page wakes you up¶
A page at 3 a.m. is no use if the phone is on Do-Not-Disturb. My Notifications shows at the top whether you are ready to be paged, and what is missing:
- a verified phone number (SMS or call),
- a notification rule for it,
- a test that rang through Do-Not-Disturb.
The Make sure a page wakes you up card walks through it:
- Save the pager's number downloads a contact card with every number pages come from. Open it on your phone.
- iPhone: open the contact, tap Edit, then Ringtone and Text Tone, and turn on Emergency Bypass for both.
- Android: star the contact, then in Settings → Do Not Disturb → People, allow calls and messages from starred contacts and turn on Repeat callers.
- Call me twice places two test calls from the same number, about 75 seconds apart. Turn on Do-Not-Disturb before the second. Then answer Did it ring with Do-Not-Disturb on? The answer is stored, and the method shows "rings through DND".
Repeat calls¶
iPhone and Android let a second call from the same number within three minutes ring through Do-Not-Disturb (iOS "Repeated Calls", Android "Repeat callers"). So when a call for a critical or high incident is not answered, or goes to voicemail, the same number calls again about 75 seconds later, at most twice. Acknowledging the incident cancels a repeat that has not gone out. Turn it off per phone with Ring again if I do not answer.
Did pages reach people?¶
The On-Call page shows, for the last 30 days, what share of pages reached the phone per channel, how long it took (median and 95th percentile), the median time from the first page to an acknowledgement, and how many repeat calls were answered. Channels without delivery reports (email, push, chat, webhooks) are counted, not measured.
Storm protection¶
If one person already has 30 pages in the last 10 minutes, further pages to them are not sent. They show as suppressed with the detail "paging storm: more than 30 pages to this person in 10 minutes".
Webhook payload¶
A webhook contact method receives a POST with a JSON body for every page, test and verification.
Headers:
| Header | Value |
|---|---|
Content-Type |
application/json |
User-Agent |
Argavon-Notifier/1 |
X-Argavon-Delivery |
Delivery id. Delivery is at-least-once: de-duplicate on this. |
X-Argavon-Kind |
page, test or verify |
X-Argavon-Timestamp |
Unix seconds when the request was sent |
X-Argavon-Signature |
v1= followed by the hex HMAC-SHA256 of <timestamp>.<body>, keyed with your signing secret |
Body of a page:
{
"version": "1",
"delivery_id": "dlv-…",
"kind": "page",
"created_at": "2026-11-04T09:12:03Z",
"subject": "[CRITICAL] checkout-api: Error rate above 5%",
"body": "You are being paged for incident inc-…\n\nService: checkout-api\nSeverity: critical\nStatus: open\nTitle: Error rate above 5%\n\nOpen it: https://argavon.com.com/?incident=inc-…\n",
"incident": {
"id": "inc-…",
"title": "Error rate above 5%",
"service": "checkout-api",
"severity": "critical",
"status": "open",
"url": "https://argavon.com.com/?incident=inc-…"
},
"sent_at": "2026-11-04T09:12:04Z"
}
incident is present only when kind is page. The incident link is built from the server's FRONTEND_ORIGIN.
Answer with any 2xx status. Argavon does not follow redirects: a 3xx is a permanent failure, so use the final URL. 408, 429 and 5xx answers are retried.
Verify the signature¶
Check the signature over the raw body bytes, before you parse the JSON. Also reject old timestamps so a captured request cannot be replayed.
import hashlib, hmac, time
def verify(secret: str, headers: dict, raw_body: bytes, max_age_seconds: int = 300) -> bool:
ts = headers["X-Argavon-Timestamp"]
if abs(time.time() - int(ts)) > max_age_seconds:
return False
mac = hmac.new(secret.encode(), ts.encode() + b"." + raw_body, hashlib.sha256)
expected = "v1=" + mac.hexdigest()
return hmac.compare_digest(expected, headers["X-Argavon-Signature"])
Slack and Teams webhooks are not signed. Their URL is the secret, so Argavon stores it encrypted and only ever shows it masked.
API¶
The /api/v1/me/... routes act on the person who calls them. Use your own session token, not an API key: get one with POST /api/v1/auth/login.
TOKEN=$(curl -s https://argavon.com.com/api/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"you@example.com","password":"…"}' | jq -r .token)
These routes are a person's own settings: they need that person's sign-in token. API keys are
refused with 403.
| Method and path | What it does |
|---|---|
GET /api/v1/notification-channels |
Types this server can deliver: {"types": [...]} |
GET /api/v1/me/contact-methods |
Your methods, plus channels (available types) |
POST /api/v1/me/contact-methods |
Add a method: type, label, address |
DELETE /api/v1/me/contact-methods/{id} |
Delete a method, its rules and unsent deliveries |
POST /api/v1/me/contact-methods/{id}/send-verification |
Send the code (or the webhook/push verification) |
POST /api/v1/me/contact-methods/{id}/verify |
Confirm a code: {"code": "123456"} |
POST /api/v1/me/contact-methods/{id}/test |
Send a test to a verified method |
GET /api/v1/me/notification-rules |
Your rules |
POST /api/v1/me/notification-rules |
Add a rule: contact_method_id, delay_minutes |
DELETE /api/v1/me/notification-rules/{id} |
Delete a rule |
GET /api/v1/me/notification-deliveries?limit=50&offset=0 |
Your delivery log (limit up to 200) |
GET /api/v1/directory/users |
Teammates and whether a page reaches them (operator) |
POST /api/v1/incidents/{id}/page |
Page a person: {"user_id": "<user id>"} (operator) |
GET /api/v1/notification-deliveries?incident_id=… |
Every delivery for an incident (operator) |
GET /api/v1/telecom/usage |
This month's SMS and call use and the plan limit |
PATCH /api/v1/me/contact-methods/{id} |
{"repeat_call": false} turns repeat calls off for a phone |
POST /api/v1/me/contact-methods/{id}/dnd-test |
Two test calls from the same number (one SMS for an SMS method) |
POST /api/v1/me/contact-methods/{id}/dnd-confirm |
{"rang": true} records that the test rang through Do-Not-Disturb |
GET /api/v1/me/quiet-hours |
Your time_zone (IANA), quiet_hours_on, quiet_start and quiet_end (HH:MM) |
PUT /api/v1/me/quiet-hours |
Change them (send all four fields) |
GET /api/v1/service-urgency |
Services that always page as high or as low urgency |
PUT /api/v1/service-urgency |
{"service": "billing", "urgency": "low"}; "urgency": "" follows severity again (admin; Pro or Enterprise) |
GET /api/v1/me/paging-readiness |
phone_verified, ladder, dnd_confirmed, ready |
GET /api/v1/me/pager-contact.vcf |
The pager's numbers as a contact card |
GET /api/v1/reliability?days=30 |
Delivery per channel, time to acknowledge and repeat calls (1 to 90 days) |
POST /api/v1/hooks/twilio/status/{workspace}/{delivery} |
Twilio's delivery reports (signed by Twilio; not for people) |
POST /api/v1/hooks/twilio/voice/{workspace}/{delivery} |
The key pressed on a page call (signed by Twilio; not for people) |
POST /api/v1/hooks/twilio/sms |
An SMS sent to the pager's number: a reply of 1 acknowledges (signed by Twilio; not for people) |
POST /api/v1/hooks/relay/{workspace}/{delivery} |
Reports and keypresses from the relay (signed with RELAY_KEY; not for people) |
The address of a method is never returned after it is created; responses carry address_masked. A webhook's signing_secret is returned only in the create response.
Add an email address, verify it, and add a 10-minute rule:
# 1. Add the method
curl -s https://argavon.com.com/api/v1/me/contact-methods \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"type":"email","label":"Work email","address":"you@example.com"}'
# => {"id":"cm-…","type":"email","label":"Work email","address_masked":"…","verified":false,…}
# 2. Send the code
curl -s -X POST https://argavon.com.com/api/v1/me/contact-methods/cm-…/send-verification \
-H "Authorization: Bearer $TOKEN"
# 3. Type the code from the mail
curl -s https://argavon.com.com/api/v1/me/contact-methods/cm-…/verify \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"code":"123456"}'
# 4. Add a rule (the first verified method already has a 0-minute rule)
curl -s https://argavon.com.com/api/v1/me/notification-rules \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"contact_method_id":"cm-…","delay_minutes":10}'
Page a teammate for an incident:
curl -s https://argavon.com.com/api/v1/incidents/inc-…/page \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"user_id":"<user id>"}'
# => {"incident_id":"inc-…","user_id":"<user id>","queued":2,"deliveries":[…]}
When queued is 0, reason says why.
If it does not work¶
| Message | What to do |
|---|---|
"sms" delivery is not configured on this server (available: …) |
The server has no provider for this type. Ask your admin to set it up, or pick another type. |
give the number in international format, such as +14155550100 |
Start the number with + and the country code. |
URL must use https / URL points at a private or reserved address |
Use a public https:// URL, or ask the admin to set NOTIFY_ALLOW_PRIVATE_TARGETS=true on a self-hosted server. |
use a Slack incoming webhook URL (https://hooks.slack.com/services/…) |
Create an incoming webhook in Slack and paste its URL. |
wrong code (N tries left) / the code has expired; request a new code / too many wrong codes; request a new code |
Click Resend verification and use the newest code. |
a verification was sent moments ago; try again in N seconds |
Wait and resend. |
verify this contact method before adding a rule for it |
Verify the method first. |
this user has no verified contact methods |
The person you paged cannot be reached. Page someone else and ask them to set up My Notifications. |
this user has no notification rules for their verified contact methods |
The person deleted all rules. They need at least one. |
incident is acknowledged; only open incidents are paged |
Someone already owns the incident. |
this is a sample incident: it never pages anyone |
Sample incidents are for trying the product. |
already paged for this incident moments ago |
The same person was paged for this incident in the last few minutes. |
this browser's push subscription has expired; enable push on it again |
Click Enable on this browser again. |
receiver answered HTTP 3xx (redirects are not followed; use the final URL) |
Point the webhook at the final URL. |
SMS and phone calls are not included in the … plan / this month's N SMS and phone calls on the … plan are used up; other methods still work |
Add a push, email or chat method as well. |
Push: "Could not acknowledge" / this acknowledge link is invalid or has expired |
The button is older than 24 hours. Open Argavon and acknowledge there. |
| Reached you stays "waiting for the network's report" | Twilio cannot reach the server. Check TWILIO_CALLBACK_BASE is the public https:// address, and that Twilio's request log shows the callbacks. |
| A call says "No key was pressed. Goodbye." | The call was answered but nobody pressed 1. If the incident is still open, the escalation goes on. |
| Pressing 2 says "there is no next person to call" | The incident has no escalation running. Start one from the incident, or page someone. |
If a webhook never verifies, check Recent deliveries: the detail shows the HTTP status or network error your endpoint returned.