API reference

API overview

Manage Uptenna monitors from code: API keys, authentication, rate limits, errors, pagination, versioning and the list of v1 endpoints.

The Uptenna API lets your code do what the dashboard does with monitors (create, change, pause, resume, delete) and read incidents, status pages and your account. It's a JSON API over HTTPS at:

base URL
https://uptenna.com/v1

Authentication

Create a key in the dashboard under API keys, give it a name, and copy it: it's shown once. Keys look like upt_live_… and are stored only as a hash, so a lost key can't be recovered; revoke it and make a new one. Send the key in the Authorization header:

curl
curl https://uptenna.com/v1/monitors \
  -H "Authorization: Bearer $UPTENNA_API_KEY"
  • A key acts as your account: it can read and change every monitor in it. Keep it on your server (an environment variable or your secrets manager), never in a browser or a mobile app. The API sends no CORS headers.
  • An account can have 10 active keys. Use one per app or environment, so you can revoke one without touching the others.
  • Revoking is immediate. The dashboard shows when each key was last used (updated about once a minute).
  • API keys are on every plan, Free included.

Rate limits

Each key can make 120 requests every 60 seconds. Over that, the API answers 429 with a Retry-After header (seconds to wait) and the error code rate_limited. Need more? Write to support@uptenna.com.

Errors

Every error has the same shape, with a stable machine code and a message you can show to a person:

400 Bad Request
{
  "error": {
    "code": "invalid_monitor",
    "message": "Enter the URL to check, like https://example.com/health."
  }
}
StatusCodeMeaning
400invalid_monitor, invalid_parameterA field or query parameter is missing or invalid; the message says which.
401unauthorizedNo key, a malformed key, or a key that is unknown or revoked.
402monitor_limit, interval_not_in_planYour plan doesn't allow it. The same rules as the dashboard.
404not_foundNo such endpoint, or no object with that id in your account. Other accounts' ids are always 404.
405method_not_allowedThe path exists with another method (see the Allow header).
429rate_limitedToo many requests; wait Retry-After seconds.
500internal_errorSomething broke on our side. Retry with backoff.

Data format

  • Request and response bodies are JSON with snake_case field names. Send Content-Type: application/json.
  • Timestamps are ISO 8601 strings in UTC with milliseconds, like 2026-12-01T09:41:00.000Z. Durations are numbers whose name says the unit: interval_s, timeout_ms.
  • Fields that don't apply are null, never missing: a heartbeat has url: null, an HTTP monitor heartbeat_url: null.
  • Ids are strings with a prefix: mon_ monitors, inc_ incidents, sp_ status pages.
  • Lists come as { "data": [ … ] }. Single objects come as the object itself.

Every field is described in API objects.

Pagination

Monitors and status pages are listed in full (your plan caps how many there are). Incidents are paginated with a cursor, newest first: pass limit (1 to 100, default 50) and, for the next page, cursor set to the previous response's next_cursor. When next_cursor is null, you have everything.

Node.js (fetch)
let cursor = null;
do {
  const url = new URL("https://uptenna.com/v1/incidents?limit=100");
  if (cursor) url.searchParams.set("cursor", cursor);
  const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.UPTENNA_API_KEY}` } });
  const page = await res.json();
  for (const incident of page.data) console.log(incident.started_at, incident.monitor_name, incident.reason_text);
  cursor = page.next_cursor;
} while (cursor);

Plans and limits

The API follows your plan exactly like the dashboard: creating a monitor past your plan's monitor count, or with an interval faster than your plan allows, fails with 402. Monitors over the limit after a downgrade are kept, marked over_limit: true and not checked. Get the account shows your plan, its limits and what you use.

Versioning

The version is in the path: /v1. Within v1 we only make additive changes: new endpoints, new fields in responses, new optional parameters and new values for fields like status or reason. Ignore fields you don't know. Anything that would break a client (removing or renaming a field, changing a type) ships as /v2, with v1 kept running and the change announced ahead.

Endpoints

MethodPath
GET/v1/monitorsList monitors
POST/v1/monitorsCreate a monitor
GET/v1/monitors/{id}Get a monitor
PATCH/v1/monitors/{id}Update a monitor
DELETE/v1/monitors/{id}Delete a monitor
POST/v1/monitors/{id}/pausePause a monitor
POST/v1/monitors/{id}/resumeResume a monitor
GET/v1/incidentsList incidents
GET/v1/status-pagesList status pages
GET/v1/status-pages/{id}Get a status page
GET/v1/accountGet the account

OpenAPI

The whole API as an OpenAPI 3.1 document, for code generators, Postman or an AI assistant: https://uptenna.com/openapi.json.