API reference
Get the account
Get your Uptenna account with the API: current plan, its limits (monitors, fastest interval, status pages) and usage, to check room before creating monitors.
GET https://uptenna.com/v1/account
The account the key belongs to: its plan, the plan's limits and what is used. Handy to check room for more monitors before creating one.
Example request
curl "https://uptenna.com/v1/account" \
-H "Authorization: Bearer $UPTENNA_API_KEY"const res = await fetch("https://uptenna.com/v1/account", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.UPTENNA_API_KEY}`,
},
});
if (!res.ok) throw new Error((await res.json()).error.message);
const account = await res.json();Response
Returns 200 OK with the account object.
{
"id": "acc_r2Lq8XvB4nTk",
"email": "ana@acme.com",
"name": "Ana",
"created_at": "2026-11-02T13:58:20.000Z",
"plan": {
"tier": "pro",
"name": "Pro",
"subscription_status": "active",
"interval": "month",
"current_period_end": "2026-12-02T13:58:20.000Z",
"cancel_at": null,
"trial_ends_at": "2026-11-16T13:58:20.000Z"
},
"limits": {
"monitors": 50,
"min_interval_s": 60,
"status_pages": 5,
"alert_channel_types": [
"email",
"slack",
"discord",
"telegram",
"webhook"
],
"ssl_checks": true,
"custom_domains": true
},
"usage": {
"monitors": 12,
"status_pages": 2,
"alert_channels": 3,
"open_incidents": 0,
"api_keys": 1
}
}Errors
Errors look like { "error": { "code", "message" } } (see Errors).
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | The Authorization header is missing, malformed, or the key is unknown or revoked. |
| 429 | rate_limited | More than 120 requests in 60 seconds with this key. Wait for the Retry-After header's seconds. |