Webhook to start and stop maintenance #3191

Closed
opened 2026-02-28 03:21:09 -05:00 by deekerman · 4 comments
Owner

Originally created by @upamanyudas on GitHub (Mar 13, 2024).

https://github.com/louislam/uptime-kuma/issues/3170

🏷️ Feature Request Type

API / automation options, Maintenance

🔖 Feature description

A webhook that can be called to start and stop a maintenance e.g. when my UnRAID server starts appdata backup i can easily run a pre-backup script and a post-backup script to put my hosted services under maintenance automatically.

✔️ Solution

An API / webhook strategy in the Date and Time section of Edit Maintenance.

Alternatives

No response

📝 Additional Context

No response

Originally created by @upamanyudas on GitHub (Mar 13, 2024). ### 📑 I have found these related issues/pull requests https://github.com/louislam/uptime-kuma/issues/3170 ### 🏷️ Feature Request Type API / automation options, Maintenance ### 🔖 Feature description A webhook that can be called to start and stop a maintenance e.g. when my UnRAID server starts `appdata` backup i can easily run a `pre-backup` script and a `post-backup` script to put my hosted services under maintenance automatically. ### ✔️ Solution An API / webhook strategy in the `Date and Time` section of `Edit Maintenance`. ### ❓ Alternatives _No response_ ### 📝 Additional Context _No response_
Author
Owner

@CommanderStorm commented on GitHub (Mar 14, 2024):

@upamanyudas
I don't see how this is different from the issue you linked:

=> closing as a duplicate

@CommanderStorm commented on GitHub (Mar 14, 2024): @upamanyudas I don't see how this is different from the issue you linked: - https://github.com/louislam/uptime-kuma/issues/2462 => closing as a duplicate
Author
Owner

@upamanyudas commented on GitHub (Mar 14, 2024):

This is a tad different.
The issue I linked sends out notifications after the maintenance has started.
The feat request I'm making is for the maintenance to play or pause depending on calls from external devices / services.

@upamanyudas commented on GitHub (Mar 14, 2024): This is a tad different. The issue I linked sends out notifications after the maintenance has started. The feat request I'm making is for the maintenance to play or pause depending on calls from external devices / services.
Author
Owner

@CommanderStorm commented on GitHub (Mar 14, 2024):

Indeded, I misunderstood you.
So you want an api to create/edit a certain maintenance?
This is tracked in #118 instead => please see https://github.com/louislam/uptime-kuma/pull/3854 for the current status of this

@CommanderStorm commented on GitHub (Mar 14, 2024): Indeded, I misunderstood you. So you want an api to create/edit a certain maintenance? This is tracked in #118 instead => please see https://github.com/louislam/uptime-kuma/pull/3854 for the current status of this
Author
Owner

@cwchristerw commented on GitHub (Dec 12, 2025):

I want to activate existing maintenance with webhook.

@cwchristerw commented on GitHub (Dec 12, 2025): I want to activate existing maintenance with webhook.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3191
No description provided.