Skip to main content

Change Group Chat Settings

PATCH 

/api/v2/instance/:instanceId/group/:groupJid/settings

This endpoint allows you to change chat settings for a specific WhatsApp group. Settings can control who can comment and who can edit group data.

Request

Path Parameters

    instanceId stringrequired

    The unique identifier of the group whose settings will be changed.

    groupJid stringrequired

    The unique identifier of the group for which you want to fetch information.

Body

required
  • settings (enum, required)
  • announcement: only admins can comment.
  • not_announcement: everyone can comment.
  • locked: only administrators can edit group data.
  • unlocked: everyone can edit group data.
    setting Settingrequired

    Default value: announcement | locked | not_announcement | unlocked

Responses

Setting Updated

Schema
    updated boolean
    setting string
Loading...