Uptime API › Heartbeat pings
Ping a heartbeat monitor
GET/ping/{token}
Records a ping for the heartbeat monitor with this token. The monitor
goes down when no ping arrives within its interval_seconds plus
grace_seconds, and comes back up on the next ping.
No API key: the token is the only credential, so keep the URL out of public repositories and logs. GET, POST and HEAD all work, and a POST body is ignored. Pings are not counted against the API rate limit.
Parameters
Path parameters
tokenstring requiredThe heartbeat monitor'sping_token.
Responses
200
The ping was recorded.
statusstring required
404
No heartbeat monitor has this token. The body is plain text.
500
The ping could not be recorded. Retry. The body is plain text.
Example request
curl -X GET 'https://evohub.io/ping/hb_9e1f3a5c-7b2d-4c6e-8f0a-1b3d5e7f9a2c'