Help Monitor types
API checks
For REST APIs open the section API / request settings of a website:
- HTTP method (GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS), headers (one per line, e.g.
Authorization: Bearer …) and request body. - Expected status codes, e.g.
200,201or a range like200-299. Any other code counts as failed. - JSON check: a path like
data.statusoritems.0.idis compared with an expected value (equals, not equals, contains, greater, less, exists).
Headers are stored, so use a token with read-only rights.