---
title: "Send-side health for this connection"
method: GET
path: "/connections/{phoneNumber}/health"
tags: ["Connections"]
---

# Send-side health for this connection

`GET /connections/{phoneNumber}/health`

Whether this connection is actually able to send, which POST /connections cannot tell you: that path only does a presence update, which does not touch the keystore and therefore passes while sends are wedged. `sendState` is `unknown` when no send has been observed yet — a connection nobody writes to can be stalled and still look perfect, so this never claims health it has not seen.

## Path parameters

- `phoneNumber` string, required

## Response `200`

Send-side health snapshot

- object
  - `data` object
    - `connected` boolean
    - `sendState` 'unknown' | 'ok' | 'degraded' | 'stalled' — 'unknown' means no send has been observed on this connection yet
    - `consecutiveSendTimeouts` integer
    - `lastTrafficAgoMs` integer, nullable — Age of the last message-level traffic, inbound or outbound. Stays fresh on inbound traffic alone, so it does NOT prove sending works.
    - `lastSendCompletedAgoMs` integer, nullable — Age of the last send that completed, i.e. the keystore mutex was free
    - `lastOutgoingAckAgoMs` integer, nullable — Age of the last WhatsApp acknowledgement of one of our messages — the only end-to-end proof that sending works

## Other responses

- `403` — Forbidden — the API key does not own this connection. Returned when a connection is bound to a different API key.
- `404` — Phone number not connected
- `421` — Misdirected Request — in cluster mode, this instance does not own the connection. The owning instance id is in the x-baileys-owner header; a proxy re-routes the request there. Not returned for the explicit-takeover routes: POST /connections/{phoneNumber}, /import-session and /restart.

---

[API](https://skmtc.net/fazer-ai/apis/fazer-ai-baileys-api.md) · [All operations](https://skmtc.net/fazer-ai/apis/fazer-ai-baileys-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fazer-ai/fazer-ai-baileys-api/revisions/5299037901a9/schema)
