community

[BETA] get community subgroups

Retrieve all joined subgroups of a Community as full chat instances. Avoids N+1 roundtrips when walking a community. Note: This endpoint is currently in beta and may change without notice.

post/instances/{id}/client/action/get-community-subgroups

Request

  • Base URL: https://waapi.app/api/v1
  • URL: https://waapi.app/api/v1/instances/{id}/client/action/get-community-subgroups
  • Auth: HTTP bearer

Path parameters

idinteger required

Instance ID

Request body

communityIdstring required

Example request

{
  "communityId": "12345678901234@g.us"
}

Response

status'success' | 'error'
dataobject[]

Example response

{
  "status": "success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.