UptimeTea

API Documentation

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

Get incident

Returns a single incident by ID.

GET
https://api.uptimetea.com/incidents/:id

Headers

Authorization
REQUIRED
STRING
Bearer $TOKEN

Response body

{
  "id": "uuid",
  "watcher_id": "uuid",
  "watcher": {
    "id": "uuid",
    "title": "My Website",
    "url": "https://example.com",
    "category": "uptime"
  },
  "status": "acknowledged",
  "description": "Website monitor 'My Website' is down",
  "started_at": "2024-01-15T10:00:00Z",
  "acknowledged_at": "2024-01-15T10:05:00Z",
  "resolved_at": null,
  "duration": null,
  "created_at": "2024-01-15T10:00:00Z"
}

Code Examples

curl -X GET "https://api.uptimetea.com/incidents/<incident_id>" \
  -H "Authorization: Bearer $TOKEN"