UptimeTea

API Documentation

The UptimeTea API is easy to use and free for all plans.

List watchers

Returns a list of all your watchers (monitors). Supports multiple monitoring types: uptime, SSL certificates, domain expiration, cron jobs, and heartbeats.

GET
https://api.uptimetea.com/watchers

Headers

Authorization
REQUIRED
STRING
Bearer $TOKEN

Response body

[
  {
    "id": "uuid",
    "title": "My Website",
    "category": "uptime",
    "url": "https://example.com",
    "status": "up",
    "tags": ["production", "critical"],
    "last_checked_at": "2024-01-15T10:30:00Z",
    "uptime_percentage": 99.5,
    "consecutive_failures": 0,
    "in_maintenance": false,
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-15T10:30:00Z"
  }
]

Code Examples

curl -X GET "https://api.uptimetea.com/watchers" \
  -H "Authorization: Bearer $TOKEN"