Skip to main content
GET
/
groups
Listar Grupos
curl --request GET \
  --url http://localhost:3000/api/groups \
  --header 'Authorization: Bearer <token>'

Parâmetros

Path

phone-number-id
string
required
ID do número de telefone cujos grupos serão listados.

Resposta

{
  "data": [
    {
      "id": "group_id_123@g.us",
      "subject": "Suporte ao Cliente",
      "description": "Grupo oficial de suporte",
      "creation_time": 1705312200
    }
  ],
  "paging": {
    "cursors": {
      "before": "before_cursor",
      "after": "after_cursor"
    }
  }
}