UptimeTea

API Documentation

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

Create watcher

Creates a new watcher. Supports multiple categories: uptime, ssl_certificate, domain_expiration, cron_job, heartbeat.

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

Headers

Authorization
REQUIRED
STRING
Bearer $TOKEN
Content-Type
REQUIRED
STRING
application/json

Response body

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

Code Examples

curl -X POST "https://api.uptimetea.com/watchers" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "My Website",
    "category": "uptime",
    "url": "https://example.com",
    "tags": ["production"]
  }'