Communication

Push templates

Customize the push notification body per alert type, with variable interpolation.

In the app: Notifications › Push

Default push notifications are good. Custom push notifications are better, your monitor name in bold, a severity emoji, the response time inline, and "Tap to acknowledge" in your team's house style.

Template anatomy

A push template has these parts:

PartPurposeExample
ChannelAlways push for this template typepush
Alert typeWhich alert this fires fordown, recovery, ssl, high_response, high_response_recovery
Message contentThe notification body (the only editable field)🔴 {{monitor_name}} is down - {{incident_message}}

By default the title is generated from the alert type (e.g. Down — <monitor_name> for down).

The render engine looks up templates by channel, alert type, and user. User-specific overrides win first, then defaults, then a built-in fallback.

Authoring

You cannot edit push templates in the customer UI; templates are defined by an administrator. Keep a template body short; phones cut text longer than about 178 characters. A template takes effect as soon as it is saved.

Variable interpolation

Templates support flat {{variable_name}} interpolation:

VariableTypeExample value
{{monitor_name}}textPayment API
{{monitor_url}}texthttps://api.example.com/health
{{response_time}}number (ms)1240
{{status}}textup, down
{{status_code}}number503
{{incident_message}}textConnection refused
{{ssl_expiry_days}}number7
{{threshold}}number (ms)2000
{{incident_type}}textdown, recovery, etc.
{{timestamp}}localized date/time4/27/2026, 3:12:00 AM
{{iso_timestamp}}ISO 86012026-04-27T03:12:00Z

The render engine only substitutes variables that are present; an unrecognized token (for example, a name not in the list above) is left as-is in the output. Numeric variables such as response_time always have a value, they default to 0 on connection failures, so Response: {{response_time}}ms renders as Response: 0ms.

The render engine does not resolve dotted paths such as {{monitor.name}} or {{stats.uptime_24h}}. Stick to the flat names listed above.

Default templates

Out of the box, push messages look like this:

  • Down: title Down — <monitor_name>, body Not responding. <error>
  • Recovery: title Back up — <monitor_name>, body Responding again.
  • SSL expiry: title Certificate expiring — <monitor_name>, the body says when the certificate expires
  • Slow response: title Slow — <monitor_name>, the body compares the response time with the threshold
  • Slow response recovery: title Response normal — <monitor_name>, body Back to <response time>.

On a down push the title can be replaced by a line summarizing the evidence for the incident; the body starts with the monitor name.

The renderer accepts both single-brace {var} and double-brace {{var}} for backwards compatibility. Author new templates with double-brace.

Custom vs system templates

Templates you create belong to your own account. System (default) templates that apply to everyone can only be created with an admin role. When a system template is marked as default, other system defaults for the same channel-and-alert-type key are deactivated automatically, so two competing defaults can't fire at once. User templates cannot be marked as default.

If no row matches, the built-in default runs. Defaults are guaranteed to render even in edge cases, they're a safety net, not a fallback you should rely on for branding.

Action buttons

Android push notifications show Acknowledge and View action buttons; iOS shows only View. These buttons are not declared in templates, they are controlled by the mobile app. View opens the related incident in the app via the uptimewarden://incident/<publicId> deep link.

Bu sayfayı Türkçe okuyun