API reference
Send heartbeats, update your status and schedule, post incidents.
The base URL is https://api.is-up.to. Send JSON with Content-Type: application/json and authenticate with Authorization: Bearer <token>. To use it from an AI assistant, connect the MCP server instead.
| Token | Starts with | Can do |
|---|---|---|
| Device token | iut_d_, or iut_o_ for a device linked with OAuth | Heartbeats for its device, status, schedule |
| Personal token | iut_p_ | Everything on your page, including services and incidents |
Errors return a JSON body like { "error": "invalid_request", "message": "…" }. Requests are rate limited per token; a 429 response includes a Retry-After header.
Devices
Device tokens, and the OAuth access tokens of linked devices, belong to one device. Send a heartbeat every 60 seconds while the device is in use; if none arrives for the device's timeout (5 minutes by default), it shows as offline.
POST/v1/heartbeat
Device token
Report that this device is on, and what it's doing. Fields you've hidden for the device are accepted but never shown.
Request body
{
"state": "active", // "active" | "idle" | "locked"
"activity": {
"app": "Figma", // optional, max 80 chars
"title": "Checkout v2" // optional, max 160 chars
},
"battery": { "level": 82, "charging": false },
"message": "Rendering…" // optional, max 140 chars
}Response
{ "ok": true, "device": { "id": "dev_…", "name": "MacBook Pro" }, "interval": 60 }POST/v1/heartbeat/offline
Device token
Mark the device offline straight away, for example when it shuts down or the user signs out.
Response
{ "ok": true }Linking a device
Apps link a device without the user typing a password, with OAuth 2.0's device authorization grant (RFC 8628). Requests are form-encoded, as OAuth's are. Show the user_code, send the user to verification_uri, and poll the token endpoint until they approve. The access token then works like a device token for 24 hours; swap the refresh token for new ones before then. Each refresh token works once, and a device that hasn't refreshed for a year has to be linked again.
POST/oauth/device_authorization
No token
Start linking. The name, kind and platform are shown to the user before they approve. Codes expire after 10 minutes.
Request body
client_id=isupto-device&scope=device&name=MacBook+Pro&kind=laptop&platform=macosResponse
{
"device_code": "…",
"user_code": "WDJB-MJHT",
"verification_uri": "https://portal.is-up.to/link",
"verification_uri_complete": "https://portal.is-up.to/link?code=WDJB-MJHT",
"expires_in": 600,
"interval": 5
}POST/oauth/token
No token
Poll no faster than interval. Returns 400 with "authorization_pending" until the user approves, "slow_down" if polling too fast (wait 5 seconds longer from then on), and "expired_token" or "access_denied" when it's over.
Request body
grant_type=urn:ietf:params:oauth:grant-type:device_code&client_id=isupto-device&device_code=…Response
{
"access_token": "iut_o_…",
"token_type": "Bearer",
"expires_in": 86400,
"refresh_token": "iut_r_…",
"scope": "device",
"device": { "id": "dev_…", "name": "MacBook Pro" },
"page": { "username": "yourname", "url": "https://yourname.is-up.to" }
}POST/oauth/token
No token
Get a new access token and refresh token. Use the new refresh token next time: presenting a used one unlinks the device.
Request body
grant_type=refresh_token&client_id=isupto-device&refresh_token=iut_r_…Response
{ "access_token": "iut_o_…", "token_type": "Bearer", "expires_in": 86400, "refresh_token": "iut_r_…", "scope": "device" }POST/oauth/revoke
No token
Unlink when the user signs out of the app; either token works. The device stays on the page until it's removed. Apps from before OAuth can still link with POST /v1/device-codes and /v1/device-codes/token, which return a device token instead.
Request body
client_id=isupto-device&token=iut_r_…Response
(empty, 200)Status
Your status is the line under your name. An until time clears it automatically.
GET/v1/presence
Device or personal token
Read your current status.
Response
{ "state": "busy", "text": "Heads down", "emoji": null, "until": "2026-09-29T15:00:00Z" }PUT/v1/presence
Device or personal token
Replace your status. Send state "auto" to let device activity decide.
Request body
{
"state": "busy", // "auto" | "available" | "busy" | "away" | "dnd" | "sleeping" | "offline"
"text": "Heads down",
"emoji": "🎧",
"until": "2026-09-29T15:00:00Z"
}Response
{ "state": "busy", "text": "Heads down", "emoji": "🎧", "until": "2026-09-29T15:00:00Z" }Schedule
Times are ISO 8601 with an offset or Z. Private events appear on your page as busy blocks without a title. Device tokens see private events as busy blocks too, and can't change or delete them; use a personal token for that.
GET/v1/events?from=…&to=…
Device or personal token
List events that overlap a range. The range can be at most 62 days.
Response
{ "events": [ { "id": "evt_…", "title": "Design review", "starts_at": "…", "ends_at": "…", "kind": "meeting", "visibility": "public" } ] }POST/v1/events
Device or personal token
Create an event.
Request body
{
"title": "Design review",
"starts_at": "2026-09-29T15:00:00+01:00",
"ends_at": "2026-09-29T16:00:00+01:00",
"kind": "meeting", // "busy" | "meeting" | "focus" | "travel" | "sleep" | "away" | "free"
"visibility": "public", // "public" | "private"
"location": "Zoom",
"notes": "Optional"
}Response
{ "id": "evt_…", … }PATCH/v1/events/{id}
Device or personal token
Update any fields of an event you created.
Response
{ "id": "evt_…", … }DELETE/v1/events/{id}
Device or personal token
Delete an event.
Response
{ "ok": true }Services and incidents
Personal tokens can do everything you can do in the portal. Use them from CI to open incidents during deploys.
GET/v1/services
Personal token
List services with their current status and check settings. last_components lists the checks from the last health response (health+json, Spring Boot, .NET), or is null.
Response
{ "services": [ { "id": "svc_…", "name": "API", "status": "operational", "monitor_type": "http", "last_latency_ms": 142,
"last_components": [ { "name": "database", "status": "pass", "value": 12, "unit": "ms", "output": null } ] } ] }POST/v1/services
Personal token
Add a service. Pass a template to prefill common standards (e.g. ietf-health, k8s-healthz, spring-actuator, dotnet-health, grpc-health, graphql, tcp-redis, tcp-postgres, tcp-ssh, dns-spf, dns-dmarc, push-daily), or configure fields directly. HTTP, TCP and DNS services verify domain ownership via DNS TXT (_isupto.<domain>) before checks run; domain_verification in the response shows the TXT record if unverified.
Request body
{
"name": "Database",
"template": "tcp-postgres", // optional preset; explicit fields below override it
"monitor_type": "tcp", // "http" | "tcp" | "dns" | "push" | "none"
// http: "monitor_url", "monitor_method" ("GET" | "HEAD" | "POST"), "expected_status" ("200-399"),
// "request_headers" ([{ "name": "Authorization", "value": "…" }]), "request_body", "follow_redirects" (true)
// tcp: "host", "port", "tls" (false), "request_body" (sent after connecting; \r \n \xHH escapes)
// dns: "host", "dns_record_type" ("A" | "AAAA" | "CNAME" | "MX" | "TXT" | "NS")
// push: "interval_sec" (expected time between pings), "push_grace_sec" (300)
"host": "db.example.com",
"port": 5432,
"keyword": null, // text the body, reply or DNS answer must contain
"keyword_mode": "contains", // "contains" | "not_contains"
"interval_sec": null, // null = your plan's interval; never faster than it
"timeout_ms": 10000,
"slow_ms": 3000,
"failure_threshold": 2, // failed checks in a row before it's down
"recovery_threshold": 1, // passing checks in a row before it's up again
"alert_email": true,
"alert_webhook_url": "https://hooks.slack.com/services/…",
"show_components": false // list a health response's checks on your page (names and status only)
}Response
{ "id": "svc_…", "monitor_type": "tcp", "target": "tcp://db.example.com:5432", "host_verified": true, … }PATCH/v1/services/{id}
Personal token
Change any fields; omitted fields are left as they are. Setting status by hand overrides checks until the next successful one.
Request body
{ "status": "degraded" } // "operational" | "degraded" | "partial_outage" | "major_outage" | "maintenance"Response
{ "id": "svc_…", "status": "degraded" }POST/v1/services/{id}/check
Personal token
Verify domain ownership (if still pending) and run a check now. At most once every 10 seconds per service.
Response
{ "ok": false, "latency_ms": 10000, "status_code": null, "error": "Timed out after 10000 ms", "service": { … } }GET/v1/services/{id}/stats
Personal token
Uptime for the last 24 hours, 7, 30 and 90 days, hourly response times for the last week, and recent status changes.
Response
{
"uptime": { "24h": 100, "7d": 99.93, "30d": 99.98, "90d": 99.99 },
"latency": { "avg24h": 142, "max24h": 610, "avg7d": 151, "avg30d": 149 },
"hours": [ { "hour": "2026-10-17T13:00:00Z", "checks": 60, "ok": 60, "avg_ms": 140, "max_ms": 380 } ],
"events": [ { "from": "operational", "to": "major_outage", "source": "auto", "error": "HTTP 503", "created_at": "…" } ]
}POST/v1/services/{id}/push-token
Personal token
Replace a push monitor's ping URL. The old one stops working immediately.
Response
{ "id": "svc_…", "push_url": "https://api.is-up.to/v1/push/…" }POST/v1/services/{id}/test-alert
Personal token
Send a test message to the service's alert webhook.
Response
{ "ok": true }POST/v1/incidents
Personal token
Open an incident with its first update.
Request body
{
"title": "Elevated API errors",
"status": "investigating", // "investigating" | "identified" | "monitoring" | "resolved"
"impact": "major", // "none" | "minor" | "major" | "critical"
"message": "Some requests are failing with 502 errors.",
"services": ["svc_…"]
}Response
{ "id": "inc_…", … }POST/v1/incidents/{id}/updates
Personal token
Post an update. Setting status to resolved closes the incident.
Request body
{ "status": "resolved", "message": "Error rates are back to normal." }Response
{ "id": "upd_…", … }Push monitors
For cron jobs, backups and queue workers. The URL itself is the secret, so no token is needed: copy it from the service's page in the portal. GET, HEAD and POST all work.
POST/v1/push/{token}
No token
Report that the job ran. Send status "down" (or ?status=down) with an optional msg to report a failure, and duration_ms to record how long it took.
Request body
{ "status": "up", "duration_ms": 5230 } // or: { "status": "down", "msg": "pg_dump exited with 1" }Response
{ "ok": true, "status": "operational" }Public data
These endpoints need no token and are cached for up to 15 seconds.
GET/v1/pages/{username}
No token
Everything shown on a page, as JSON. Hidden fields and private event titles are never included.
Response
{ "username": "yourname", "presence": { … }, "services": [ … ], "devices": [ … ], "events": [ … ] }GET/v1/usernames/{username}
No token
Check whether a username can be registered.
Response
{ "username": "yourname", "available": true, "reason": null }Looking for something that isn't here? Tell us what you're building.