A simple REST API to manage your monitors programmatically. Available on Pro and Business.
Create an API key in Settings → API keys, then send it as a Bearer token (or an X-API-Key header). Keep it secret — it has the same access as your account's data.
curl https://areweup.app/api/monitors \
-H "Authorization: Bearer pp_live_xxxxxxxxxxxx"
All responses are JSON: { "data": ... } on success, { "error": true, "message": "...", "code": "..." } on failure.
| Endpoint | Description |
|---|---|
GET/api/monitors | List your monitors |
POST/api/monitors | Create a monitor |
GET/api/monitors/:id | Get a monitor with stats & recent checks |
PUT/api/monitors/:id | Update a monitor |
DEL/api/monitors/:id | Delete a monitor |
POST/api/monitors/:id/pause | Pause / resume |
GET/api/monitors/:id/incidents | Incident history |
curl -X POST https://areweup.app/api/monitors \
-H "Authorization: Bearer pp_live_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Marketing site",
"url": "https://example.com",
"type": "http",
"check_interval_seconds": 60,
"expected_status_code": 200
}'
GET/api/alert-channels | List channels |
POST/api/alert-channels | Add a channel |
POST/api/monitors/:id/alert-channels | Link channels to a monitor |
API requests are limited to 600 requests per 15 minutes per IP. Exceeding it returns 429 with code RATE_LIMITED.
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
403 | Not allowed (plan limit, or session-only action) |
404 | Resource not found |
429 | Rate limited |