Check live session health
#Session token scope. Only the WhatsApp session identified by this token. Any required sessionId must match that session; the token cannot access another session or account-wide billing.
/api/v1/sessions/{sessionId}/healthCheck the WhatsApp service live and return safe session status with local billing metadata. healthy is true only for WORKING.
- A session Bearer token can access only its own session.
- Reads the WhatsApp service directly. An existing local reservation whose service session does not exist returns HTTP 404; list responses can still show that reservation. Transport/service errors stay errors and never claim health. Other valid session states return healthy:false. Owned expired sessions remain readable; suspended accounts remain denied. Only safe session fields are returned.
Request fields 1
| Field | Location / type | Description |
|---|---|---|
sessionIdRequired | pathstring (UUID or short ID) | Your session's UUID or its 5-character short ID (shortId); both name the same session.Example: 11111111-1111-4111-8111-111111111111 |
Request example
curl --request GET 'https://wathook.com/api/v1/sessions/11111111-1111-4111-8111-111111111111/health' \
--header 'Authorization: Bearer YOUR_SESSION_TOKEN'Examples use placeholders. Replace them in your own application before sending a request.
Example response 200
{
"data": {
"id": "11111111-1111-4111-8111-111111111111",
"shortId": "k7m2q",
"name": "Support",
"status": "WORKING",
"phoneNumber": "15550001111",
"billingState": "paid",
"paidUntil": "2026-11-11T12:00:00.000Z",
"expiredAt": null,
"createdAt": "2026-10-11T12:00:00.000Z",
"lastActivityAt": "2026-10-11T12:00:00.000Z",
"healthy": true,
"accountName": "Support team"
}
}Illustrative response. Values and IDs depend on your session and the service response.