Oncall
All docs

Use it

Paging

Email paging

Oncall uses the installation's configured mail sender. In Settings โ†’ Team, add the on-call person's email contact, then save a notification rule for that contact with the alert urgency and delay you want. A critical alert is high urgency by default. Assign the responder through the service's rota or routing. No text-message sender or switch is needed for email.

With MAIL_RECIPIENTS=owner, use the owner's installation email (OWNER_EMAIL) in the rule. Through the Business relay (MAIL_PROVIDER=rer), that address is already verified by the platform, which delivers only to the Business owner's mailbox. With any other provider, the owner first confirms an emailed sign-in link or a verified managed owner claim. This decides only who may receive an email page; it signs nobody in. If the selected responder is someone else, Who this alert goes to displays the owner-only refusal. With unrestricted mail, the rule uses the saved contact's address.

The scheduled job processes due email rules once. When an alert's email and text rules have the same due time, email goes first. A saved escalation policy controls when the next step begins and whether it pages the primary again or the backup. Rules whose delay falls outside their step are skipped. When there is no saved policy, the assigned person's matching rules run as one step. Acknowledgment, resolution or source recovery stops later pages. The email contains the alert title, service, urgency and a link to the alert. The alert's delivery log shows the provider outcome, including refusal or failure.

Text-message paging

Text-message paging is off by default. Use the Business platform's mail.sender settings for your Oncall installation. Add the returned TEXT_RELAY_URL alongside MAIL_PROVIDER=rer, MAIL_FROM and MAIL_RELAY_URL and use the same MAIL_API_KEY for both channels. Keep the key in your private deployment environment file with mode 0600. Use that file for the initial deploy. For an existing deployment with managed mail, update the text relay and key bindings with the command below.

Shell
"$HOME/.local/bin/rer" deploy --environment production --env-file "$HOME/.config/oncall/production.env" \
  --set-secret TEXT_RELAY_URL,MAIL_API_KEY

In the platform's Account settings, the owner adds and confirms their mobile. In Oncall, assign the owner through the service's rota or routing. Under Settings โ†’ Team โ†’ Contact methods and notification rules, add an SMS contact method and save a rule for it after the owner's email rule. Choose the same alert urgency and a delay at least as long as the email delay if you want email first. The notification rule selects the channel and the platform supplies the confirmed destination. The scheduled job sends only when the installation owner is the selected responder. Phone and SMS numbers saved in Oncall cannot authorize a destination.

Read the outcome

Open Who this alert goes to on the alert. Texts include the alert title, service, urgency and link. The run records what happened to each text rule.

Relay response What it means
202 The relay queued the text. Oncall shows the last four digits of the destination when provided.
409 The owner needs to confirm a mobile in the platform's Account settings.
403 The relay refused the recipient.
429 The relay limited the send. Oncall follows a valid Retry-After once on a subsequent scheduled pass if the alert is still open and the escalation step and owner are still current.
503 Texts are not set up on the platform yet.

Acknowledgment, resolution or source recovery stops further pages and cancels any scheduled retry. Keep your existing pager authoritative. A queued text still requires delivery and the responder's acknowledgment.

Edit this page on GitHub