Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(search): state the query length and word bounds in the search guide
Yudhi Armyndharis71747f5873e3
diff --git a/docs/26-global-search.md b/docs/26-global-search.mdindex d4c367219..c75c3b544 100644--- a/docs/26-global-search.md+++ b/docs/26-global-search.md@@ -133,7 +133,8 @@ GET /api/search?q=<term>&sessionId=<id>&chatId=<id>&direction=<incoming|outgoing&from=<sender>&dateFrom=<ms>&dateTo=<ms>&limit=<n>&offset=<n>```-- **`q`** is required and must be non-empty (whitespace-only is rejected with `400`). Numeric params+- **`q`** is required and must be non-empty (whitespace-only is rejected with `400`, and so is one+ longer than 1000 characters or with more than 32 distinct words; a repeated word counts once). Numeric paramsare coerced and validated; a non-numeric `limit`/`offset`/`dateFrom`/`dateTo` surfaces as `400`,never as a `NaN` SQL parameter.- **Auth scoping is authoritative.** The caller's API-key `allowedSessions` is injected by