cURL
curl --request GET \ --url https://{host}/api/{session}/groups/count \ --header 'apikey: <api-key>'
{ "count": 15 }
Get the total count of groups in the session
200
400
401
curl -X GET https://api.wappfy.com.br/api/my-session/groups/count
Your Wappfy API key (get it at dash.wappfy.com.br)
Session name (instanceName)