Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(settings): show webhookAlerts as the fixed false it returns

Yudhi Armyndharisff961a3e7053
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index 90c4b07de..94a90e1a1 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -5272,12 +5272,12 @@ Get application settings (environment-derived; `general`/`api`/`notifications` g
"notifications": {
"emailEnabled": false,
"notificationEmail": "",
- "webhookAlerts": true
+ "webhookAlerts": false
}
}
```
-Notes: raw return of an in-memory `Settings` object built once in the controller constructor from the environment (snapshotted at construction, not re-read per request). `general.apiBaseUrl` reads `BASE_URL` (default `http://localhost:<PORT>`) and `general.debugMode` mirrors `DATABASE_LOGGING`. `api.rateLimitWindow` is in ms. `enableDocs` reflects the `ENABLE_SWAGGER` gate (enabled by default outside production; disabled by default in production unless explicitly enabled). `general.autoReconnect` (always `true`) and `notifications.*` (`emailEnabled: false`, `notificationEmail: ''`, `webhookAlerts: true`) are hardcoded.
+Notes: raw return of an in-memory `Settings` object built once in the controller constructor from the environment (snapshotted at construction, not re-read per request). `general.apiBaseUrl` reads `BASE_URL` (default `http://localhost:<PORT>`) and `general.debugMode` mirrors `DATABASE_LOGGING`. `api.rateLimitWindow` is in ms. `enableDocs` reflects the `ENABLE_SWAGGER` gate (enabled by default outside production; disabled by default in production unless explicitly enabled). `general.autoReconnect` (always `true`) and `notifications.*` (`emailEnabled: false`, `notificationEmail: ''`, `webhookAlerts: false`) are hardcoded; the `notifications.*` fields are fixed placeholders with no feature behind them.
**Errors:** `401` — missing/invalid `X-API-Key` · `403` — API key lacks the ADMIN role, or the key is session-restricted.