Ping a heartbeat monitor (POST)
POST /api/v1/heartbeat/{token}
POST
/api/v1/heartbeat/{token}
Records a heartbeat ping for the monitor associated with the given token. Behaves identically to the GET variant. This endpoint does not require authentication.
If the monitor has a heartbeat_secret configured, the request must include
an X-Secret header with the matching value, otherwise returns 401.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” token
required
string
Example
hb_a1b2c3d4e5f6Unique heartbeat token assigned to a heartbeat monitor.
Header Parameters
Section titled “Header Parameters ” X-Secret
string
Required if the heartbeat monitor has a secret configured.
Responses
Section titled “ Responses ”Heartbeat recorded successfully.
object
ok
required
boolean
Example
true monitor_id
required
integer
Example
42Secret mismatch. The X-Secret header is missing or does not match.
The requested resource was not found.
Error response returned when a request fails.
object
error
required
A human-readable error message.
string
Example
monitor not foundExample
{ "error": "not found"}