Skip to main content
GET
/
api
/
{session}
/
lids
/
count
Get the number of known lids
curl --request GET \
  --url https://{host}/api/{session}/lids/count \
  --header 'apikey: <api-key>'
{
  "count": 150
}

Description

This endpoint returns the total number of known LIDs (Local IDs) in the WhatsApp session. Useful for statistics and monitoring.

URL Parameters

session
string
required
Unique authenticated session ID
{
  "count": 150
}

Status Codes

  • 200 - Count returned successfully
  • 401 - Unauthorized session
  • 404 - Session not found

Usage Example

curl -X GET https://api.wappfy.com.br/api/my-session/lids/count

Authorizations

apikey
string
header
required

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

Path Parameters

session
string
required

Session name (instanceName)

Response

200 - application/json
count
number
default:0
required
I