GET /devices/me/status

Detailed device status including DB status, client load state, connection, and login flags.

Responses

  • 200 application/json

    Status retrieved

    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
      • db_status string

        Database status: pending | active | disconnected | logged_out

      • client_loaded boolean

        Whether client is loaded in memory

      • connected boolean

        Legacy flag: true only when fully connected and logged in

      • is_connected boolean

        Connected to WhatsApp servers

      • is_logged_in boolean

        Has authenticated session

      • error string

        Error message when not connected/logged in

GET /devices/me/status
curl \
 --request GET 'http://localhost:7001/devices/me/status' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "data": {
    "db_status": "active",
    "client_loaded": true,
    "connected": true,
    "is_connected": true,
    "is_logged_in": true,
    "error": "string"
  }
}