Connections

Recreate the socket, keeping the session

Tears down the live socket and spawns a replacement using the stored session, without clearing auth state — no QR, no re-pairing. Recovers a connection that is receiving and passing health checks but whose sends are wedged.

post/connections/{phoneNumber}/restart

Path parameters

phoneNumberstring required
Example:+551234567890

Phone number for connection. Must have + prefix.

Request body

reasonstring

Free-text note recorded in the restart log line

Example request

{
  "reason": "send stall"
}

Response

Restart accepted; reconnecting