TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/shadownrx/apisquare/llms.txt
Use this file to discover all available pages before exploring further.
/api/healthcheck endpoint is a lightweight liveness probe. It always returns HTTP 200 with a JSON body confirming the service is running. No authentication is required, and the endpoint performs no database or external service calls — making it safe to poll frequently without side effects.
Request
Response
HTTP 200 OKResponse Fields
Always
"ok". A value other than "ok" is never returned by this endpoint.Human-readable status message confirming the bot service is running.
ISO 8601 timestamp (UTC) of the exact moment the health check was performed. Generated from
new Date().toISOString() at request time.Use Cases
- Vercel deployment health checks — point Vercel’s built-in health check URL at
/api/healthcheckto gate traffic during deployments. - Uptime monitoring — configure tools like UptimeRobot or Betterstack to poll this endpoint every 60 seconds and alert on non-
200responses. - Webhook registration verification — call this endpoint after registering the Telegram webhook to confirm the deployment is live and reachable before sending bot traffic.
GET /api — Service Index
The root API route (GET /api) returns a similar liveness payload along with a map of available public endpoints. Useful for a quick sanity check or service discovery.
Request
Always
"ok".Human-readable confirmation that the service is active.
A map of named public endpoint paths. Currently lists
webhook and
healthcheck.