Skip to main content
POST
Configure who can add new members to the group

Authorizations

token
string
header
required

Body

application/json
groupjid
string
required

Unique group identifier in xxxx@g.us format

Example:

"120363339858396166@g.us"

MemberAddMode
enum<string>
required

Defines who can add new members to the group; reflected in the MemberAddMode field

Available options:
admin_add,
all_member_add
Example:

"admin_add"

Response

Configuration updated successfully

response
string
Example:

"Group member add mode set to admin_add successfully"

group
object

Represents a group/collective conversation

needs_refresh
boolean

Indicates whether the group details need to be fetched again

Example:

false