Developers · REST API

Manage monitors, incidents and maintenance from code

Timmy's REST API v1 does what the dashboard does for monitors and maintenance windows, and reads check history, incidents and your workspace's status at a glance. It's plain JSON over HTTPS with a bearer key, one error shape and an OpenAPI description at /openapi.json.

Highlights

  • Monitors as code

    Create HTTP, port, ping, DNS and heartbeat monitors, change them, pause and resume them, or delete them, with the same validation as the dashboard.

  • Maintenance from your pipeline

    Open a one-off window before a deploy or keep weekly windows in sync, so planned work never pages anyone.

  • Incidents and history

    Page through incidents (open or resolved, per monitor) and every regional check from the last 90 days.

  • One status call

    GET /status returns the workspace's state, counts per state, open incidents and maintenance running now.

  • Status pages, alert contacts and members via API

    Coming soon

    Managing status pages, alert contacts, API keys and people from the API.

  • Writing incidents

    Coming soon

    Creating incidents or posting updates through the API; incidents are read-only today.

How it works

Set it up in a few steps

  1. 01

    Make a key

    In your workspace, open API and create a key. Owners and Admins can make keys. Choose read (GET only) or read/write. The key starts with utk_ and is shown once; Timmy stores only a hash.

  2. 02

    List your monitors

    Send the key as a bearer token. Filter with ?kind= (http, port, ping, dns, heartbeat, domain) and ?status= (pending, up, degraded, down).

    curl https://www.uptimetimmy.com/api/v1/monitors?status=down \
      -H "Authorization: Bearer utk_..."
  3. 03

    Create an HTTP monitor

    kind and url are required; everything else has the dashboard's defaults (GET, every 5 minutes or the plan's shortest interval if that's longer, 10 s timeout, Delayed after 3 s, regions iad1, fra1 and sin1). Region ids are lhr1, iad1, fra1 and sin1. keyword_mode is contains or absent. Shortest intervals: 1 hour on Free, 30 minutes on Solo, 5 minutes on Team and Agency.

    curl -X POST https://www.uptimetimmy.com/api/v1/monitors \
      -H "Authorization: Bearer utk_..." \
      -H "Content-Type: application/json" \
      -d '{
        "kind": "http",
        "name": "Checkout API",
        "url": "https://shop.example.com/health",
        "method": "GET",
        "interval_seconds": 60,
        "timeout_ms": 10000,
        "slow_ms": 2000,
        "regions": ["lhr1", "iad1", "fra1"],
        "keyword": "\"status\":\"ok\"",
        "keyword_mode": "contains"
      }'
  4. 04

    Pause it during a migration

    PATCH takes any of the monitor's fields plus paused. A monitor you read with GET can be sent back to PATCH as it is.

    curl -X PATCH https://www.uptimetimmy.com/api/v1/monitors/<monitor-id> \
      -H "Authorization: Bearer utk_..." \
      -H "Content-Type: application/json" \
      -d '{"paused": true}'
  5. 05

    Or schedule maintenance instead

    Checks keep running but no incident opens and no alert goes out during the window, and the time doesn't count against uptime. Times are RFC 3339 on a whole minute. Weekly windows use weekdays 1 (Monday) to 7 (Sunday), start_time, duration_minutes and time_zone.

    curl -X POST https://www.uptimetimmy.com/api/v1/maintenance-windows \
      -H "Authorization: Bearer utk_..." \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Database upgrade",
        "note": "Checkout may be slow for a few minutes.",
        "all_monitors": false,
        "monitor_ids": ["<monitor-id>"],
        "schedule": { "type": "once", "starts_at": "2026-11-01T02:00:00Z", "ends_at": "2026-11-01T03:30:00Z" }
      }'
  6. 06

    Page through incidents

    Lists that page return next_cursor; pass it back as ?cursor= until it's null. ?limit= is 1 to 200 (default 50).

    curl "https://www.uptimetimmy.com/api/v1/incidents?status=open&limit=100" \
      -H "Authorization: Bearer utk_..."
    
    # { "data": [ { "id": "…", "monitor_id": "…", "monitor_name": "Checkout API",
    #   "severity": "down", "status": "open", "cause": "HTTP 503 from P2 IAD, P3 FRA",
    #   "started_at": "…", "resolved_at": null, "duration_seconds": 312 } ], "next_cursor": null }

The details

Exactly what it does

Base URLhttps://www.uptimetimmy.com/api/v1 · OpenAPI at https://www.uptimetimmy.com/openapi.json
PlansEvery plan, Free included. Plan limits apply as in the dashboard.
AuthenticationAuthorization: Bearer utk_… · keys belong to one workspace · up to 20 keys per workspace · shown once, stored as a hash · made by Owners and Admins
Scopesread (GET only) or read/write. A read key on a write endpoint gets 403 forbidden.
Rate limit60 requests a minute per key, reads and writes alike. X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset on every answer; 429 with Retry-After when over.
MonitorsGET, POST /monitors · GET, PATCH, DELETE /monitors/{id} · GET /monitors/{id}/checks
IncidentsGET /incidents (?status=open|resolved, ?monitor_id=) · GET /incidents/{id}. Read-only; each incident carries its notes.
MaintenanceGET, POST /maintenance-windows · GET, PATCH, DELETE /maintenance-windows/{id}
WorkspaceGET /status: overall state, counts per state, open incidents, maintenance running now
Monitor kindshttp, port, ping, dns and heartbeat can be created and changed. Domain-only monitors appear in lists but are managed in the dashboard.
Responses{ "data": … }, lists add "next_cursor" (incidents and checks page with ?limit 1–200, default 50, and ?cursor). Times are RFC 3339 in UTC. Bodies are JSON objects up to 64 KB; unknown fields are refused by name.
Errors{ "error": { "code", "message" } } · 400 invalid_request, invalid_json, unsupported_media_type, payload_too_large · 401 unauthorized · 403 forbidden · 404 not_found · 429 rate_limited · 500 internal_error · 503 unavailable

Good for

What people use it for

  • Create a monitor for every new customer site or service from your provisioning script
  • Open a maintenance window from CI before a deploy, delete it after
  • Pull open incidents into an internal dashboard or chat bot
  • Export check history for the last 90 days into your own analysis
  • Keep monitors in version control and sync them with PATCH

Coming soon

Not there yet

  • Coming soonStatus pages, alert contacts, API keys, members and billing through the API
  • Coming soonCreating incidents or posting incident updates (incidents are read-only)
  • Coming soonCreating domain-only monitors (use the Domains page)
  • Coming soonOfficial client libraries and a CLI

FAQ

Frequently asked questions

Which plan includes the API?

Every plan, Free included. Your plan's limits (monitor count, shortest check interval) apply to monitors made through the API exactly as in the dashboard.

Can a Member make API keys?

No. Owners and Admins make and revoke keys. Members manage monitors in the dashboard.

What does a heartbeat look like over the API?

kind "heartbeat" with interval_seconds and grace_seconds (whole minutes, so a multiple of 60). The ping URL is shown once in the dashboard when the heartbeat is made.

How do I tell keys apart?

The API page lists each key's name, scope, first characters, creation date and last use. Revoked keys get 401 like unknown ones.

Is there a webhook for changes?

Yes: a webhook alert contact gets signed events for incidents, expiry reminders and maintenance.

ALL ABOARD

Start monitoring in 30 seconds

There’s nothing to install and no card to enter. The free plan stays free.

Get started free