API & Integrations
Feature Guide
API Endpoints Reference
Overview of available API endpoints and their usage.
Updated 2026-02-23
1 min read
API
endpoints
REST
API Endpoints Reference#
Sites#
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/sites | List all monitored sites |
| GET | /api/v1/sites/:id | Get site details |
| POST | /api/v1/sites | Add a new site |
| PUT | /api/v1/sites/:id | Update site settings |
| DELETE | /api/v1/sites/:id | Remove a site |
Checks#
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/sites/:id/checks | List check results |
| POST | /api/v1/sites/:id/checks | Trigger a new check |
| GET | /api/v1/sites/:id/uptime | Get uptime data |
Reports#
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/sites/:id/report | Generate a report |
| GET | /api/v1/sites/:id/export | Export data (CSV/JSON) |
Alerts#
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/alerts | List all alerts |
| PUT | /api/v1/alerts/:id/acknowledge | Acknowledge an alert |
Pagination#
All list endpoints support pagination:
GET /api/v1/sites?page=1&per_page=25Response Format#
All responses follow a consistent JSON structure:
{
"data": [...],
"meta": {
"total": 50,
"page": 1,
"per_page": 25
}
}Was this article helpful?
Related Articles
API Authentication
Generate API keys, authenticate REST requests with bearer tokens, scope permissions, and rotate credentials safely in LemWatch.
API Rate Limits
Understanding API rate limits and how to handle them.
What integrations does Lemwatch support?
Lemwatch routes alerts to Slack, Discord, Teams, PagerDuty, Telegram, Google Chat, Mattermost, Rocket.Chat, ntfy, generic webhooks, and email.
Which alert channel should I use?
Use PagerDuty for on-call rotations, Slack or Teams for daytime triage, Telegram or ntfy for solo owners, and webhooks for custom pipelines.