TON DocsTON Docs
APIsTON Center

Lifecheck Method

GET
/lifecheck

Check if there are any bookings in the last 19 hours. Returns status "ok" if bookings exist, "dead" otherwise.

Authorization

X-API-Key<token>

In: header

Response Body

application/json

curl -X GET "https://example.com/lifecheck"
{
  "status": "string",
  "last_booking_time": 0
}