API Reference
REST API v1
Automate everything. Manage monitors, query heartbeats, and integrate newuptime into your CI/CD pipelines, scripts, and dashboards.
Authentication
All API requests require a Bearer token. Generate an API key from Settings → API Keys in your dashboard.
Response Format
Every response follows a consistent envelope. Check ok for success/failure.
Base URL
https://central.newuptime.com/api/v1IInfo
/infoPlatform info and monitor counts
MMonitors
/monitors?page=1&limit=50&status=active|pausedList all monitors (paginated)
/monitors/:idGet monitor details
/monitorsCreate a new monitor
/monitors/:idUpdate a monitor
/monitors/:idDelete a monitor and all its data
/monitors/:id/pausePause monitoring
/monitors/:id/resumeResume monitoring
HHeartbeats
/monitors/:id/heartbeats?hours=24&page=1&limit=50Heartbeat history
/monitors/:id/uptimeUptime percentage (24h, 7d, 30d, 90d)
/monitors/:id/important-heartbeatsState change events (UP/DOWN transitions)
NNotifications
/notificationsList notification channels
/notifications/:idGet notification details
/notifications/:idDelete a notification channel
SStatus Pages
/status-pagesList status pages
/status-pages/:slugGet status page details
PProbes
/probesList all probe nodes and their status
Quick Examples
List all monitors
Create an HTTP monitor
Get uptime stats
Pause a monitor
Need help integrating?
The API follows RESTful conventions and works with any HTTP client. Use curl, fetch, axios, or your language's HTTP library.