Skip to main content
POST
Manage groups in a community

Authorizations

token
string
header
required

Body

application/json
community
string
required

Community JID (unique identifier)

Example:

"120363153742561022@g.us"

action
enum<string>
required

Type of operation to be performed:

  • add - Adds groups to the community
  • remove - Removes groups from the community
Available options:
add,
remove
groupjids
string[]
required

List of group JIDs to add or remove

Minimum array length: 1
Pattern: ^[0-9]+@g.us$
Example:

Response

Operation performed successfully

message
string
Example:

"community updated"

success
string[]

List of group JIDs processed successfully

failed
string[]

List of group JIDs that failed processing