WasenderAPI

API Documentation

WasenderApi WhatsApp API

Get All Groups

Groups

GET/api/groups

Retrieves a list of all WhatsApp groups the connected account is a member of.

Get All Groups

Retrieve a list of all WhatsApp groups that the connected WhatsApp account is currently a part of. The response includes group ID, name, participants, creation time, and owner.

Parameters

NameTypeRequiredDescription
paginatedbooleanNoWhen true, returns {data: {items, pagination}}. When false, returns {data: [...]}.
pageintegerNoPage number (only used when paginated=true).
limitintegerNoItems per page (only used when paginated=true).

Code Examples

curl "https://www.wasenderapi.com/api/groups"
  -H "Authorization: Bearer YOUR_API_KEY"

Response Examples

{
  "success": true,
  "data": [
    {
      "jid": "[email protected]",
      "name": "Group Name",
      "imgUrl": null
    }
  ]
}