Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(api): name the whatsapp-web.js unsynced-channel 404 on channel mute

Yudhi Armyndharis4611a62b6c43
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index f7cc73d91..af7d6be81 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -3880,7 +3880,7 @@ soft unsubscribe.
**Response** `200` — `{ "success": true }`
-**Errors:** `400` validation, or session not started · `401` · `403` the engine refused · `404` the id is not a channel (does not end in `@newsletter`) · `409` conflict or engine not ready (retryable) · `503` session not ready or dependency unavailable (retryable); on Baileys, also when WhatsApp rate-limits or times out the request (code 429 or 408): retry after a pause
+**Errors:** `400` validation, or session not started · `401` · `403` the engine refused · `404` the id is not a channel (does not end in `@newsletter`); on whatsapp-web.js, also a channel id that is not among the session's subscribed channels or has not synced into the local collection yet · `409` conflict or engine not ready (retryable) · `503` session not ready or dependency unavailable (retryable); on Baileys, also when WhatsApp rate-limits or times out the request (code 429 or 408): retry after a pause
#### POST /api/sessions/:sessionId/channels/:channelId/admins/demote