Document webhook target, automatic restoration and complete removal

This commit is contained in:
Ops Agent committed 2026-10-11 08:47:14 +02:00
1 parent 97f874d183
commit 3d8cf46a63
2 files changed
+24

No files matched your search

+10
View File
@@ -34,6 +34,16 @@ Live bridge commands require **Windows x64 and 64-bit Python**. They were tested
`send-self` actually sends a message. It is never part of the default tests and does not retry automatically. ZIP exports cover the local database, not necessarily every message ever received. Contacts are local table rows, not a deduplicated phone address book.
## Message listener with automatic restoration
Supply your endpoint token through `WHATSAPP_INJECTOR_WEBHOOK_TOKEN` using your secret manager, then run:
```powershell
python whatsapp.py webhook install --endpoint https://your-endpoint.example/events --auto-restore --config listener.json
```
`--endpoint` selects the HTTPS target; `--auto-restore` creates a per-user Windows task that checks every minute and restores the listener after WhatsApp restarts. Delivery runs inside WhatsApp, without CDP, UI automation, a local HTTP server or a continuously running Python process. Add `--self-only` for self-chat testing. The endpoint must authenticate the token header and accept message batches. See [setup, payload, limitations and full removal](docs/WEBHOOKS.md).
## Development
```powershell