GET /

Get server status and health check. No authentication required.

Responses

  • 200 application/json

    Server is running

    Hide response attributes Show response attributes object
    • status boolean
    • code integer
    • message string
    • data object
      Hide data attributes Show data attributes object
      • version string
      • uptime string
  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
    • status boolean
    • code integer
    • message string
    • error string
GET /
curl \
 --request GET 'http://localhost:7001/'
Response examples (200)
{
  "code": 200,
  "data": {
    "uptime": "5d 12h 30m 15s",
    "version": "2.0.0"
  },
  "status": true,
  "message": "WhatsApp API Multi-Device is running"
}
Response examples (200)
{
  "status": true,
  "code": 200,
  "message": "WhatsApp API Multi-Device is running",
  "data": {
    "version": "2.0.0",
    "uptime": "5d 12h 30m 15s"
  }
}
Response examples (500)
{
  "code": 500,
  "error": "Unable to process request",
  "status": false,
  "message": "Internal server error"
}
Response examples (500)
{
  "status": false,
  "code": 400,
  "message": "Bad request",
  "error": "Bad request"
}