Use an API monitor when a script or program should tell Uptime10 “success” or “failure”.
Nightly backup).No URL or check interval is required.
Call:
https://uptime10.com/api.php
Parameters (GET or POST):
| Parameter | Meaning |
|---|---|
api_key |
Your key from Settings |
endpoint_id |
The monitor’s ID |
result |
1 = success, 0 = failure |
notes |
Optional short message |
Example (success):
https://uptime10.com/api.php?api_key=YOUR_KEY&endpoint_id=11&result=1¬es=Backup%20OK
Use the downloaded call_uptime.ps1 script from the endpoint form so Cobian reports backup success/failure to Uptime10.
call_uptime.ps1 and save it on the Windows PC (any folder).powershell.exe C:\OneDrive\rdp_software\call_uptime.ps1 -endpoint_id "13"
After each backup, Cobian runs the script; Uptime10 updates that monitor.