Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(api): name every hardcoded field of the settings response

Yudhi Armyndharis9dd2d90e4103
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index 99664d9aa..f37ade1ee 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -5276,7 +5276,7 @@ Get application settings (environment-derived; `general`/`api`/`notifications` g
}
```
-Notes: raw return of an in-memory `Settings` object built once in the controller constructor from `ConfigService` (snapshotted at construction, not re-read per request). `api.rateLimitWindow` is in ms. `enableDocs` reflects the `ENABLE_SWAGGER` gate (enabled by default outside production; disabled by default in production unless explicitly enabled). Only `notifications.*` is currently hardcoded (`emailEnabled: false`, `notificationEmail: ''`, `webhookAlerts: true`).
+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.
**Errors:** `401` — missing/invalid `X-API-Key` · `403` — API key lacks the ADMIN role, or the key is session-restricted.