Skip to content

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

  1. Something pages you: an escalation policy step, or a teammate who presses Page on an incident.
  2. Argavon reads your notification rules. Each rule says "notify this contact method after N minutes".
  3. Each rule becomes one delivery. A rule with delay 0 goes out at once; the others wait.
  4. 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 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 (smtp or ses) and EMAIL_FROM. Without it, the email type does not appear.
  • SMS and phone calls need TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN and a from number, or, on a self-hosted install without Twilio, a relay key (RELAY_URL and RELAY_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 to FRONTEND_ORIGIN when that is https://. 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_KEY only 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 sets NOTIFY_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

  1. In Contact methods, pick a Type, type an optional Label (up to 60 characters, for example "Work phone") and the Address.
  2. Click Add. The method shows not verified.
  3. 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.
  4. 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.

  1. Open the incident and click Page.
  2. Pick the Person. People with no verified method and rule are marked "not reachable".
  3. 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 <your email>". This needs the Twilio setting in <a href="#sms-replies">SMS replies</a>.</li> <li><strong>Phone call:</strong> the call reads the incident and asks you to press a key: <strong>1</strong> acknowledges it (as you), <strong>2</strong> escalates to the next person at once, <strong>9</strong> reads it again. With no key, it repeats once and hangs up. The timeline records "Acknowledged by phone (keypad) by <your email>". A call answered by voicemail does not count as reaching you.</li> </ul> <p>Users with the viewer role cannot acknowledge, also not from a push notification.</p> <h3 id="sms-replies">SMS replies<a class="headerlink" href="#sms-replies" title="Permanent link">¶</a></h3> <p>Replies reach Argavon only when Twilio knows where to send them. In the Twilio console, open the number in <code>TWILIO_FROM_NUMBER</code> (or each number of <code>TWILIO_MESSAGING_SERVICE_SID</code>) and, under <strong>Messaging</strong>, set <strong>A message comes in</strong> to <strong>Webhook</strong>, <code>HTTP POST</code>:</p> <div class="highlight"><pre><span></span><code><TWILIO_CALLBACK_BASE>/api/v1/hooks/twilio/sms </code></pre></div> <p><code>TWILIO_CALLBACK_BASE</code> must be the exact public origin Twilio calls (it defaults to <code>FRONTEND_ORIGIN</code> when that is <code>https://</code>): Twilio signs the full URL, and a request whose signature does not match is refused with <code>403</code>. Page SMS say "Reply 1 to acknowledge." only when <code>TWILIO_CALLBACK_BASE</code> is set. A reply from a number that is not a verified SMS method gets no answer. Replies do not work through the <a href="../relay/">relay</a>.</p> <h2 id="make-sure-a-page-wakes-you-up">Make sure a page wakes you up<a class="headerlink" href="#make-sure-a-page-wakes-you-up" title="Permanent link">¶</a></h2> <p>A page at 3 a.m. is no use if the phone is on Do-Not-Disturb. <strong>My Notifications</strong> shows at the top whether you are ready to be paged, and what is missing:</p> <ol> <li>a verified phone number (SMS or call),</li> <li>a notification rule for it,</li> <li>a test that rang through Do-Not-Disturb.</li> </ol> <p>The <strong>Make sure a page wakes you up</strong> card walks through it:</p> <ul> <li><strong>Save the pager's number</strong> downloads a contact card with every number pages come from. Open it on your phone.</li> <li><strong>iPhone:</strong> open the contact, tap <strong>Edit</strong>, then <strong>Ringtone</strong> and <strong>Text Tone</strong>, and turn on <strong>Emergency Bypass</strong> for both.</li> <li><strong>Android:</strong> star the contact, then in <strong>Settings → Do Not Disturb → People</strong>, allow calls and messages from starred contacts and turn on <strong>Repeat callers</strong>.</li> <li><strong>Call me twice</strong> places two test calls from the same number, about 75 seconds apart. Turn on Do-Not-Disturb before the second. Then answer <strong>Did it ring with Do-Not-Disturb on?</strong> The answer is stored, and the method shows "rings through DND".</li> </ul> <h3 id="repeat-calls">Repeat calls<a class="headerlink" href="#repeat-calls" title="Permanent link">¶</a></h3> <p>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 <strong>critical</strong> or <strong>high</strong> 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 <strong>Ring again if I do not answer</strong>.</p> <h2 id="did-pages-reach-people">Did pages reach people?<a class="headerlink" href="#did-pages-reach-people" title="Permanent link">¶</a></h2> <p>The <strong>On-Call</strong> 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.</p> <h2 id="storm-protection">Storm protection<a class="headerlink" href="#storm-protection" title="Permanent link">¶</a></h2> <p>If one person already has 30 pages in the last 10 minutes, further pages to them are not sent. They show as <code>suppressed</code> with the detail "paging storm: more than 30 pages to this person in 10 minutes".</p> <h2 id="webhook-payload">Webhook payload<a class="headerlink" href="#webhook-payload" title="Permanent link">¶</a></h2> <p>A webhook contact method receives a <code>POST</code> with a JSON body for every page, test and verification.</p> <p>Headers:</p> <table> <thead> <tr> <th>Header</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td><code>Content-Type</code></td> <td><code>application/json</code></td> </tr> <tr> <td><code>User-Agent</code></td> <td><code>Argavon-Notifier/1</code></td> </tr> <tr> <td><code>X-Argavon-Delivery</code></td> <td>Delivery id. Delivery is at-least-once: de-duplicate on this.</td> </tr> <tr> <td><code>X-Argavon-Kind</code></td> <td><code>page</code>, <code>test</code> or <code>verify</code></td> </tr> <tr> <td><code>X-Argavon-Timestamp</code></td> <td>Unix seconds when the request was sent</td> </tr> <tr> <td><code>X-Argavon-Signature</code></td> <td><code>v1=</code> followed by the hex HMAC-SHA256 of <code><timestamp>.<body></code>, keyed with your signing secret</td> </tr> </tbody> </table> <p>Body of a page:</p> <div class="highlight"><pre><span></span><code><span class="p">{</span> <span class="w"> </span><span class="nt">"version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"delivery_id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"dlv-…"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"kind"</span><span class="p">:</span><span class="w"> </span><span class="s2">"page"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"created_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-11-04T09:12:03Z"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"subject"</span><span class="p">:</span><span class="w"> </span><span class="s2">"[CRITICAL] checkout-api: Error rate above 5%"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"body"</span><span class="p">:</span><span class="w"> </span><span class="s2">"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"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"incident"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nt">"id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"inc-…"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Error rate above 5%"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"service"</span><span class="p">:</span><span class="w"> </span><span class="s2">"checkout-api"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"severity"</span><span class="p">:</span><span class="w"> </span><span class="s2">"critical"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"status"</span><span class="p">:</span><span class="w"> </span><span class="s2">"open"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://argavon.com.com/?incident=inc-…"</span> <span class="w"> </span><span class="p">},</span> <span class="w"> </span><span class="nt">"sent_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2026-11-04T09:12:04Z"</span> <span class="p">}</span> </code></pre></div> <p><code>incident</code> is present only when <code>kind</code> is <code>page</code>. The incident link is built from the server's <code>FRONTEND_ORIGIN</code>.</p> <p>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.</p> <h3 id="verify-the-signature">Verify the signature<a class="headerlink" href="#verify-the-signature" title="Permanent link">¶</a></h3> <p>Check the signature over the raw body bytes, before you parse the JSON. Also reject old timestamps so a captured request cannot be replayed.</p> <div class="highlight"><pre><span></span><code><span class="kn">import</span><span class="w"> </span><span class="nn">hashlib</span><span class="o">,</span><span class="w"> </span><span class="nn">hmac</span><span class="o">,</span><span class="w"> </span><span class="nn">time</span> <span class="k">def</span><span class="w"> </span><span class="nf">verify</span><span class="p">(</span><span class="n">secret</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span> <span class="n">headers</span><span class="p">:</span> <span class="nb">dict</span><span class="p">,</span> <span class="n">raw_body</span><span class="p">:</span> <span class="nb">bytes</span><span class="p">,</span> <span class="n">max_age_seconds</span><span class="p">:</span> <span class="nb">int</span> <span class="o">=</span> <span class="mi">300</span><span class="p">)</span> <span class="o">-></span> <span class="nb">bool</span><span class="p">:</span> <span class="n">ts</span> <span class="o">=</span> <span class="n">headers</span><span class="p">[</span><span class="s2">"X-Argavon-Timestamp"</span><span class="p">]</span> <span class="k">if</span> <span class="nb">abs</span><span class="p">(</span><span class="n">time</span><span class="o">.</span><span class="n">time</span><span class="p">()</span> <span class="o">-</span> <span class="nb">int</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> <span class="o">></span> <span class="n">max_age_seconds</span><span class="p">:</span> <span class="k">return</span> <span class="kc">False</span> <span class="n">mac</span> <span class="o">=</span> <span class="n">hmac</span><span class="o">.</span><span class="n">new</span><span class="p">(</span><span class="n">secret</span><span class="o">.</span><span class="n">encode</span><span class="p">(),</span> <span class="n">ts</span><span class="o">.</span><span class="n">encode</span><span class="p">()</span> <span class="o">+</span> <span class="sa">b</span><span class="s2">"."</span> <span class="o">+</span> <span class="n">raw_body</span><span class="p">,</span> <span class="n">hashlib</span><span class="o">.</span><span class="n">sha256</span><span class="p">)</span> <span class="n">expected</span> <span class="o">=</span> <span class="s2">"v1="</span> <span class="o">+</span> <span class="n">mac</span><span class="o">.</span><span class="n">hexdigest</span><span class="p">()</span> <span class="k">return</span> <span class="n">hmac</span><span class="o">.</span><span class="n">compare_digest</span><span class="p">(</span><span class="n">expected</span><span class="p">,</span> <span class="n">headers</span><span class="p">[</span><span class="s2">"X-Argavon-Signature"</span><span class="p">])</span> </code></pre></div> <p>Slack and Teams webhooks are not signed. Their URL is the secret, so Argavon stores it encrypted and only ever shows it masked.</p> <h2 id="api">API<a class="headerlink" href="#api" title="Permanent link">¶</a></h2> <p>The <code>/api/v1/me/...</code> routes act on the person who calls them. Use your own session token, not an API key: get one with <code>POST /api/v1/auth/login</code>.</p> <div class="highlight"><pre><span></span><code><span class="nv">TOKEN</span><span class="o">=</span><span class="k">$(</span>curl<span class="w"> </span>-s<span class="w"> </span>https://argavon.com.com/api/v1/auth/login<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s1">'Content-Type: application/json'</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-d<span class="w"> </span><span class="s1">'{"email":"you@example.com","password":"…"}'</span><span class="w"> </span><span class="p">|</span><span class="w"> </span>jq<span class="w"> </span>-r<span class="w"> </span>.token<span class="k">)</span> </code></pre></div> <p>These routes are a person's own settings: they need that person's sign-in token. API keys are refused with <code>403</code>.</p> <table> <thead> <tr> <th>Method and path</th> <th>What it does</th> </tr> </thead> <tbody> <tr> <td><code>GET /api/v1/notification-channels</code></td> <td>Types this server can deliver: <code>{"types": [...]}</code></td> </tr> <tr> <td><code>GET /api/v1/me/contact-methods</code></td> <td>Your methods, plus <code>channels</code> (available types)</td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods</code></td> <td>Add a method: <code>type</code>, <code>label</code>, <code>address</code></td> </tr> <tr> <td><code>DELETE /api/v1/me/contact-methods/{id}</code></td> <td>Delete a method, its rules and unsent deliveries</td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods/{id}/send-verification</code></td> <td>Send the code (or the webhook/push verification)</td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods/{id}/verify</code></td> <td>Confirm a code: <code>{"code": "123456"}</code></td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods/{id}/test</code></td> <td>Send a test to a verified method</td> </tr> <tr> <td><code>GET /api/v1/me/notification-rules</code></td> <td>Your rules</td> </tr> <tr> <td><code>POST /api/v1/me/notification-rules</code></td> <td>Add a rule: <code>contact_method_id</code>, <code>delay_minutes</code></td> </tr> <tr> <td><code>DELETE /api/v1/me/notification-rules/{id}</code></td> <td>Delete a rule</td> </tr> <tr> <td><code>GET /api/v1/me/notification-deliveries?limit=50&offset=0</code></td> <td>Your delivery log (limit up to 200)</td> </tr> <tr> <td><code>GET /api/v1/directory/users</code></td> <td>Teammates and whether a page reaches them (operator)</td> </tr> <tr> <td><code>POST /api/v1/incidents/{id}/page</code></td> <td>Page a person: <code>{"user_id": "<user id>"}</code> (operator)</td> </tr> <tr> <td><code>GET /api/v1/notification-deliveries?incident_id=…</code></td> <td>Every delivery for an incident (operator)</td> </tr> <tr> <td><code>GET /api/v1/telecom/usage</code></td> <td>This month's SMS and call use and the plan limit</td> </tr> <tr> <td><code>PATCH /api/v1/me/contact-methods/{id}</code></td> <td><code>{"repeat_call": false}</code> turns repeat calls off for a phone</td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods/{id}/dnd-test</code></td> <td>Two test calls from the same number (one SMS for an SMS method)</td> </tr> <tr> <td><code>POST /api/v1/me/contact-methods/{id}/dnd-confirm</code></td> <td><code>{"rang": true}</code> records that the test rang through Do-Not-Disturb</td> </tr> <tr> <td><code>GET /api/v1/me/quiet-hours</code></td> <td>Your <code>time_zone</code> (IANA), <code>quiet_hours_on</code>, <code>quiet_start</code> and <code>quiet_end</code> (HH:MM)</td> </tr> <tr> <td><code>PUT /api/v1/me/quiet-hours</code></td> <td>Change them (send all four fields)</td> </tr> <tr> <td><code>GET /api/v1/service-urgency</code></td> <td>Services that always page as high or as low urgency</td> </tr> <tr> <td><code>PUT /api/v1/service-urgency</code></td> <td><code>{"service": "billing", "urgency": "low"}</code>; <code>"urgency": ""</code> follows severity again (admin; Pro or Enterprise)</td> </tr> <tr> <td><code>GET /api/v1/me/paging-readiness</code></td> <td><code>phone_verified</code>, <code>ladder</code>, <code>dnd_confirmed</code>, <code>ready</code></td> </tr> <tr> <td><code>GET /api/v1/me/pager-contact.vcf</code></td> <td>The pager's numbers as a contact card</td> </tr> <tr> <td><code>GET /api/v1/reliability?days=30</code></td> <td>Delivery per channel, time to acknowledge and repeat calls (1 to 90 days)</td> </tr> <tr> <td><code>POST /api/v1/hooks/twilio/status/{workspace}/{delivery}</code></td> <td>Twilio's delivery reports (signed by Twilio; not for people)</td> </tr> <tr> <td><code>POST /api/v1/hooks/twilio/voice/{workspace}/{delivery}</code></td> <td>The key pressed on a page call (signed by Twilio; not for people)</td> </tr> <tr> <td><code>POST /api/v1/hooks/twilio/sms</code></td> <td>An SMS sent to the pager's number: a reply of 1 acknowledges (signed by Twilio; not for people)</td> </tr> <tr> <td><code>POST /api/v1/hooks/relay/{workspace}/{delivery}</code></td> <td>Reports and keypresses from the <a href="../relay/">relay</a> (signed with <code>RELAY_KEY</code>; not for people)</td> </tr> </tbody> </table> <p>The address of a method is never returned after it is created; responses carry <code>address_masked</code>. A webhook's <code>signing_secret</code> is returned only in the create response.</p> <p>Add an email address, verify it, and add a 10-minute rule:</p> <div class="highlight"><pre><span></span><code><span class="c1"># 1. Add the method</span> curl<span class="w"> </span>-s<span class="w"> </span>https://argavon.com.com/api/v1/me/contact-methods<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s2">"Authorization: Bearer </span><span class="nv">$TOKEN</span><span class="s2">"</span><span class="w"> </span>-H<span class="w"> </span><span class="s1">'Content-Type: application/json'</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-d<span class="w"> </span><span class="s1">'{"type":"email","label":"Work email","address":"you@example.com"}'</span> <span class="c1"># => {"id":"cm-…","type":"email","label":"Work email","address_masked":"…","verified":false,…}</span> <span class="c1"># 2. Send the code</span> curl<span class="w"> </span>-s<span class="w"> </span>-X<span class="w"> </span>POST<span class="w"> </span>https://argavon.com.com/api/v1/me/contact-methods/cm-…/send-verification<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s2">"Authorization: Bearer </span><span class="nv">$TOKEN</span><span class="s2">"</span> <span class="c1"># 3. Type the code from the mail</span> curl<span class="w"> </span>-s<span class="w"> </span>https://argavon.com.com/api/v1/me/contact-methods/cm-…/verify<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s2">"Authorization: Bearer </span><span class="nv">$TOKEN</span><span class="s2">"</span><span class="w"> </span>-H<span class="w"> </span><span class="s1">'Content-Type: application/json'</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-d<span class="w"> </span><span class="s1">'{"code":"123456"}'</span> <span class="c1"># 4. Add a rule (the first verified method already has a 0-minute rule)</span> curl<span class="w"> </span>-s<span class="w"> </span>https://argavon.com.com/api/v1/me/notification-rules<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s2">"Authorization: Bearer </span><span class="nv">$TOKEN</span><span class="s2">"</span><span class="w"> </span>-H<span class="w"> </span><span class="s1">'Content-Type: application/json'</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-d<span class="w"> </span><span class="s1">'{"contact_method_id":"cm-…","delay_minutes":10}'</span> </code></pre></div> <p>Page a teammate for an incident:</p> <div class="highlight"><pre><span></span><code>curl<span class="w"> </span>-s<span class="w"> </span>https://argavon.com.com/api/v1/incidents/inc-…/page<span class="w"> </span><span class="se">\</span> <span class="w"> </span>-H<span class="w"> </span><span class="s2">"Authorization: Bearer </span><span class="nv">$TOKEN</span><span class="s2">"</span><span class="w"> </span>-H<span class="w"> </span><span class="s1">'Content-Type: application/json'</span><span class="w"> </span><span class="se">\</span> <span class="w"> </span>-d<span class="w"> </span><span class="s1">'{"user_id":"<user id>"}'</span> <span class="c1"># => {"incident_id":"inc-…","user_id":"<user id>","queued":2,"deliveries":[…]}</span> </code></pre></div> <p>When <code>queued</code> is 0, <code>reason</code> says why.</p> <h2 id="if-it-does-not-work">If it does not work<a class="headerlink" href="#if-it-does-not-work" title="Permanent link">¶</a></h2> <table> <thead> <tr> <th>Message</th> <th>What to do</th> </tr> </thead> <tbody> <tr> <td><code>"sms" delivery is not configured on this server (available: …)</code></td> <td>The server has no provider for this type. Ask your admin to set it up, or pick another type.</td> </tr> <tr> <td><code>give the number in international format, such as +14155550100</code></td> <td>Start the number with <code>+</code> and the country code.</td> </tr> <tr> <td><code>URL must use https</code> / <code>URL points at a private or reserved address</code></td> <td>Use a public <code>https://</code> URL, or ask the admin to set <code>NOTIFY_ALLOW_PRIVATE_TARGETS=true</code> on a self-hosted server.</td> </tr> <tr> <td><code>use a Slack incoming webhook URL (https://hooks.slack.com/services/…)</code></td> <td>Create an incoming webhook in Slack and paste its URL.</td> </tr> <tr> <td><code>wrong code (N tries left)</code> / <code>the code has expired; request a new code</code> / <code>too many wrong codes; request a new code</code></td> <td>Click <strong>Resend verification</strong> and use the newest code.</td> </tr> <tr> <td><code>a verification was sent moments ago; try again in N seconds</code></td> <td>Wait and resend.</td> </tr> <tr> <td><code>verify this contact method before adding a rule for it</code></td> <td>Verify the method first.</td> </tr> <tr> <td><code>this user has no verified contact methods</code></td> <td>The person you paged cannot be reached. Page someone else and ask them to set up <strong>My Notifications</strong>.</td> </tr> <tr> <td><code>this user has no notification rules for their verified contact methods</code></td> <td>The person deleted all rules. They need at least one.</td> </tr> <tr> <td><code>incident is acknowledged; only open incidents are paged</code></td> <td>Someone already owns the incident.</td> </tr> <tr> <td><code>this is a sample incident: it never pages anyone</code></td> <td>Sample incidents are for trying the product.</td> </tr> <tr> <td><code>already paged for this incident moments ago</code></td> <td>The same person was paged for this incident in the last few minutes.</td> </tr> <tr> <td><code>this browser's push subscription has expired; enable push on it again</code></td> <td>Click <strong>Enable on this browser</strong> again.</td> </tr> <tr> <td><code>receiver answered HTTP 3xx (redirects are not followed; use the final URL)</code></td> <td>Point the webhook at the final URL.</td> </tr> <tr> <td><code>SMS and phone calls are not included in the … plan</code> / <code>this month's N SMS and phone calls on the … plan are used up; other methods still work</code></td> <td>Add a push, email or chat method as well.</td> </tr> <tr> <td>Push: "Could not acknowledge" / <code>this acknowledge link is invalid or has expired</code></td> <td>The button is older than 24 hours. Open Argavon and acknowledge there.</td> </tr> <tr> <td><strong>Reached you</strong> stays "waiting for the network's report"</td> <td>Twilio cannot reach the server. Check <code>TWILIO_CALLBACK_BASE</code> is the public <code>https://</code> address, and that Twilio's request log shows the callbacks.</td> </tr> <tr> <td>A call says "No key was pressed. Goodbye."</td> <td>The call was answered but nobody pressed 1. If the incident is still open, the escalation goes on.</td> </tr> <tr> <td>Pressing 2 says "there is no next person to call"</td> <td>The incident has no escalation running. Start one from the incident, or page someone.</td> </tr> </tbody> </table> <p>If a webhook never verifies, check <strong>Recent deliveries</strong>: the detail shows the HTTP status or network error your endpoint returned.</p> </article> </div> <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var labels=set.querySelector(".tabbed-labels");for(var tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script> <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script> </div> <button type="button" class="md-top md-icon" data-md-component="top" hidden> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg> Back to top </button> </main> <footer class="md-footer"> <nav class="md-footer__inner md-grid" aria-label="Footer" > <a href="../escalation/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Escalation"> <div class="md-footer__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg> </div> <div class="md-footer__title"> <span class="md-footer__direction"> Previous </span> <div class="md-ellipsis"> Escalation </div> </div> </a> <a href="../ntfy/" class="md-footer__link md-footer__link--next" aria-label="Next: ntfy push app"> <div class="md-footer__title"> <span class="md-footer__direction"> Next </span> <div class="md-ellipsis"> ntfy push app </div> </div> <div class="md-footer__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11z"/></svg> </div> </a> </nav> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class="md-copyright"> </div> <div class="md-social"> <a href="https://github.com/argavon" target="_blank" rel="noopener" title="Argavon on GitHub" class="md-social__link"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg> </a> </div> </div> </div> </footer> </div> <div class="md-dialog" data-md-component="dialog"> <div class="md-dialog__inner md-typeset"></div> </div> <div class="md-progress" data-md-component="progress" role="progressbar"></div> <script id="__config" type="application/json">{"annotate": null, "base": "../..", "features": ["navigation.tabs", "navigation.tabs.sticky", "navigation.sections", "navigation.top", "navigation.instant", "navigation.instant.progress", "navigation.indexes", "navigation.footer", "toc.follow", "search.suggest", "search.highlight", "content.code.copy", "content.code.annotate", "content.tabs.link"], "search": "../../assets/javascripts/workers/search.a7633da7.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script> <script src="../../assets/javascripts/bundle.a5f9d56c.min.js"></script> </body> </html>