Uptime Kuma alerts to your phone
Updated November 22, 2026
Uptime Kuma watches your websites and services and tells you when one goes down. Its built-in Webhook notification can send each alert straight to your phone through NextMsg: down, back up, and certificates about to expire.
What you need
The NextMsg app and your send key from Settings (nextmsg_live_…), and Uptime Kuma. This guide was tested with Uptime Kuma 2.5; the built-in Webhook notification it uses also exists in 1.23. With app 1.4 or later you can instead give Uptime Kuma its own key from Settings → Agents → Connect agent (see Agent keys), which you can revoke on its own later.
Add the notification
In Uptime Kuma, open Settings → Notifications → Set Up Notification and fill in:
- Notification Type: Webhook
- Friendly Name: NextMsg
- Post URL:
https://api.nextmsg.app/v1/send?channel=uptime-kuma- HTTP Method: POST
- Request Body: Custom Body, with only this in the box (no braces or other text around it):
{{ msg }}- Additional Headers: turn it on and paste this, with your key in place of
nextmsg_live_YOUR_KEY. Keep the wordBearerand the space after it:
{"Authorization": "Bearer nextmsg_live_YOUR_KEY"}Turn on Default enabled so new monitors use it (and Apply on all existing monitors for the ones you have), click Test, and save. The test arrives on your phone as NextMsg Testing in a few seconds.
What arrives
Uptime Kuma sends its usual alert text, which NextMsg files under the uptime-kuma channel:
- Down:
[My website] [🔴 Down] connect ECONNREFUSED 10.0.0.5:443 - Up again:
[My website] [✅ Up] 200 - OK - Certificate expiring (on monitors with Certificate Expiry Notification turned on, at the days set under Settings → Notifications → TLS Certificate Expiry):
[My website][https://example.com] server certificate example.com will expire in 7 days
A certificate that has already expired makes the monitor go down, so it arrives as a Down alert.
Change the message
The body is a Liquid template. Besides {{ msg }} you can use {{ name }} (the monitor), {{ status }} (🔴 Down or ✅ Up) and {{ hostnameOrURL }}. For example, a shorter alert on two lines:
{{ status }} {{ name }}
{{ hostnameOrURL }}Messages are up to 640 characters and can use **bold**, *italic* and `code`.
Troubleshooting
Uptime Kuma shows NextMsg's answer when Test fails:
- 401 Missing or malformed Authorization header: the header has no
Bearerbefore the key, or Additional Headers is empty. - 401 Invalid or revoked send key: the key was rotated in the app, or the key was revoked. Paste the current one.
- 402: the free 100 messages this month are used up.
- Additional Headers is not a valid JSON: check the quotes and braces; it must be exactly one
{"Authorization": "…"}object. - The message shows braces or extra words: the custom body contains more than
{{ msg }}.
Tips
- Want production alerts apart from the rest? Add a second Webhook notification with
?channel=productionand pick it on those monitors: each channel gets its own tab in the app. - Set Retries on a monitor so one slow check doesn't wake you up. Free NextMsg inboxes get 100 messages a month; a flapping monitor can use them up.
- The key is in a header, not in the URL, so it doesn't show up in logs of the URL.
More guides
- Get notified when a cron job or backup finishes or fails
- Healthchecks.io alerts to your phone
- Phare uptime alerts to your phone
- Get a phone notification when a GitHub Action fails
- Server alerts to your phone without Telegram or Slack
- Healthchecks.io alerts to your phone
- Phare uptime alerts to your phone
- Home Assistant alerts to your phone with NextMsg
- AWS alerts to your phone: CloudWatch alarms and EventBridge events
- Make Claude Code, Cursor or any AI agent ping your phone
- Get a phone notification when Cursor's agent finishes
- Get a phone notification when OpenAI Codex finishes a task
- Phone notifications from Google Antigravity and Gemini agents