Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(api): list the 404 on the membership-request routes
Yudhi Armyndharis7368834acb38
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.mdindex fe74b5a2a..df18e3c48 100644--- a/docs/06-api-specification.md+++ b/docs/06-api-specification.md@@ -3323,7 +3323,7 @@ Each entry is a `GroupMembershipRequest`: `participantId` (the user asking to jo`method` (`invite_link` | `non_admin_add` | `linked_group_join`), optional `requestedAt` (unixseconds).-**Errors:** `400` session is not started · `401` missing/invalid `X-API-Key` · `403` the engine refused the read — admin rights required · `409` engine not ready · `503` WhatsApp did not answer within the request budget+**Errors:** `400` session is not started · `401` missing/invalid `X-API-Key` · `403` the engine refused the read — admin rights required · `404` no such group · `409` engine not ready · `503` WhatsApp did not answer within the request budget#### POST /api/sessions/:sessionId/groups/:groupId/membership-requests/approve@@ -3367,14 +3367,14 @@ for every **named** requester is a `403`.}```-**Errors:** `400` validation / session not started · `401` missing/invalid `X-API-Key` · `403` key lacks OPERATOR role, or the engine refused (admin rights / every named requester failed) · `409` engine not ready · `503` WhatsApp did not answer within the request budget+**Errors:** `400` validation / session not started · `401` missing/invalid `X-API-Key` · `403` key lacks OPERATOR role, or the engine refused (admin rights / every named requester failed) · `404` no such group · `409` engine not ready · `503` WhatsApp did not answer within the request budget#### POST /api/sessions/:sessionId/groups/:groupId/membership-requests/rejectReject pending join requests. Same body, response shape, batch-guard contract and error map as`.../membership-requests/approve`; rejecting an empty queue is likewise a no-op.-**Errors:** `400` validation / session not started · `401` missing/invalid `X-API-Key` · `403` key lacks OPERATOR role, or the engine refused (admin rights / every named requester failed) · `409` engine not ready · `503` WhatsApp did not answer within the request budget+**Errors:** `400` validation / session not started · `401` missing/invalid `X-API-Key` · `403` key lacks OPERATOR role, or the engine refused (admin rights / every named requester failed) · `404` no such group · `409` engine not ready · `503` WhatsApp did not answer within the request budget```json{