Skip to main content
GET
Get all groups

Description

This endpoint returns a list of all groups that the session is participating in.

URL Parameters

session
string
required
WhatsApp unique session ID

Response

groups
array
Array containing all groups of the session

Status Codes

  • 200 - Groups listed successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Query Parameters

sortBy
enum<string>

Sort by field

Available options:
id,
subject
sortOrder
enum<string>

Sort order - descending (Z => A, New first) or ascending (A => Z, Old first)

Available options:
desc,
asc
limit
number
offset
number
exclude
enum<string>[]

Exclude fields

Available options:
,
participants

Response

200 - application/json

The response is of type object.