Push templates
Customize the push notification body per alert type, with variable interpolation.
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:
| Part | Purpose | Example |
|---|---|---|
| Channel | Always push for this template type | push |
| Alert type | Which alert this fires for | down, recovery, ssl, high_response, high_response_recovery |
| Message content | The 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:
| Variable | Type | Example value |
|---|---|---|
{{monitor_name}} | text | Payment API |
{{monitor_url}} | text | https://api.example.com/health |
{{response_time}} | number (ms) | 1240 |
{{status}} | text | up, down |
{{status_code}} | number | 503 |
{{incident_message}} | text | Connection refused |
{{ssl_expiry_days}} | number | 7 |
{{threshold}} | number (ms) | 2000 |
{{incident_type}} | text | down, recovery, etc. |
{{timestamp}} | localized date/time | 4/27/2026, 3:12:00 AM |
{{iso_timestamp}} | ISO 8601 | 2026-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>, bodyNot responding. <error> - Recovery: title
Back up — <monitor_name>, bodyResponding 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>, bodyBack 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.
Related topics
- Push Notifications: device setup and registered devices
- Notification Channels: channel availability matrix
- Telegram: uses the same template engine for chat formatting