Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Community → Set Join Approval Mode

AI-generated

Summary

Set the community’s join approval mode. Provide its JID and choose whether new members are auto-approved or require admin approval.

Inputs

  • Community JID (required) — JID of the community to update.
  • Join Approval Mode — Choose Off (Auto-Approve) or On (Admin Must Approve); defaults to Off.

Output shape

A single item containing a JSON object.

Returns {"success": true, "jid": "", "mode": "off" | "on"} after calling the community join approval update.

Links

Discussion