API Reference

The Happy Uptime REST API lets you manage monitors, incidents, status pages, alerts, and analytics. All endpoints return JSON.

API Reference

The Happy Uptime REST API lets you programmatically manage monitors, incidents, status pages, alerts, and analytics. All endpoints return JSON.

Quick start

1

Create an API key

Go to Dashboard → Settings → API Keys and create a key. Full keys are only shown once — copy it immediately.

2

Set the authorization header

Send Authorization: Bearer hu_xxx on every request.

3

Call the API

All endpoints live under https://happyuptime.com/api/v1.

curl -H "Authorization: Bearer hu_yourkey..." \
  https://happyuptime.com/api/v1/monitors

Base URL

text
https://happyuptime.com/api/v1

All paths in this reference are relative to the base URL. For example, /monitors means https://happyuptime.com/api/v1/monitors.

Response format

All responses wrap data in a data key. Paginated endpoints also include a meta object.

{
  "data": {
    "id": "abc123",
    "name": "My API",
    "status": "up"
  }
}

Pagination defaults: page=1, per_page=25. Maximum per_page is 100 on all list endpoints.

Ask a question... ⌘I