API ReferenceWooCommerceSDKssoonWebhookssoon

System

Health check

GET/health

Trivial liveness probe — returns { status: "ok", timestamp }. Point your monitoring or status page at this endpoint.

  • Always returns HTTP 200 as long as the API process is up. It does NOT confirm Mongo or LN-node connectivity.

Authentication

No authentication required.

GET/health
curl "https://api.trevi.cash/health"
200Sample response
{
  "status": "ok",
  "timestamp": "2026-05-18T12:00:00.000Z"
}