Reporting check-ins
To report a check-in, simply send a GET request to the endpoint URL you received when creating the check-in:
curl https://api.honeybadger.io/v1/check_in/XyZZyYou can also send an email (no subject or body required) to
XyZZy@report.hbchk.in, where XyZZy is the same (case-sensitive) ID from the
endpoint URL.
If you specify a slug for a check-in, you can use that slug and the project’s API key in the URL rather than the ID:
curl https://api.honeybadger.io/v1/check_in/PROJECT_API_KEY/my_identifierCheck-in payloads
Section titled “Check-in payloads”Business-tier accounts can send additional check-in details via POST. The payload is optional and must be under 20KB.
curl -X POST https://api.honeybadger.io/v1/check_in/XyZZy \ -H "Content-Type: application/json" \ -d '{ "check_in": { "status": "success", "duration": 1234, "stdout": "backup completed", "stderr": "", "exit_code": 0 } }'The check_in object supports:
status(string):successorerrorduration(integer): millisecondsstdout(string): captured standard outputstderr(string): captured standard errorexit_code(integer): process exit code
The data sent with the check_in object will be sent to Insights as part of the check-in event. You can find more information on using check-ins here.