v1

latestOpenAPI 3.1.02026-07-1413113265.9 KB
community

[BETA] link community subgroup

Link one or more existing standalone groups to a Community as subgroups. Note: This endpoint is currently in beta and may change without notice.

post/instances/{id}/client/action/link-community-subgroup

Path parameters

idinteger required

Instance ID

Request body

communityIdstring required
groupIdsstring[] required

Example request

{
  "communityId": "12345678901234@g.us",
  "groupIds": [
    "98765432109876@g.us"
  ]
}

Response

status'success' | 'error'

Example response

{
  "status": "success"
}