API keys and the REST API
Make a key and manage monitors and maintenance from your own code.
Make a key
A workspace can have up to 20 keys. Click Revoke on the same page when a key is no longer needed; anything using it stops working straight away.
- Open API from the account menu. Only owners and admins see it.
- Enter a Name that says what will use it, such as Deploy pipeline.
- Choose Read-only (monitors, incidents, maintenance and status) or Read and write (also add, change and delete monitors and maintenance windows).
- Click Make key and copy it now: it starts with utk_ and is shown only once.
Make a request
The base URL is https://www.uptimetimmy.com/api/v1. The OpenAPI description is at https://www.uptimetimmy.com/openapi.json.
curl https://www.uptimetimmy.com/api/v1/monitors?limit=50 \
-H "Authorization: Bearer utk_…"Endpoints
Monitor kinds through the API: http, port, ping, dns and heartbeat. Domain-only monitors are managed in the app.
- GET, POST /monitors
- GET, PATCH, DELETE /monitors/{id} (PATCH can also pause and resume)
- GET /monitors/{id}/checks
- GET /incidents and GET /incidents/{id}
- GET, POST /maintenance-windows
- GET, PATCH, DELETE /maintenance-windows/{id}
- GET /status
Limits, pages and errors
- 60 requests a minute per key. Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; past the limit you get 429 with Retry-After.
- Request bodies up to 64 KB of JSON.
- Lists return { data, next_cursor }. Use ?limit= from 1 to 200 (default 50) and pass next_cursor back for the next page.
- Errors return { error: { code, message } }.
Not in the API yet
- Status pages.
- Alert contacts.
- API keys.
- Members.
- Billing.
- Writing incidents (incidents are read-only).
Still stuck? Email support@uptimetimmy.com.