cURL
curl --request GET \ --url https://{host}/api/{session}/presence/{chatId} \ --header 'apikey: <api-key>'
{ "chatId": "5511999999999@s.whatsapp.net", "status": "AVAILABLE", "lastSeen": 1234567890, "isOnline": true }
Get presence information (online/offline) of a specific chat
5511999999999@s.whatsapp.net
200
400
401
404
curl -X GET https://api.wappfy.com.br/api/my-session/presence/5511999999999@s.whatsapp.net
Your Wappfy API key (get it at dash.wappfy.com.br)
Conversation ID
Chat ID - either group id or contact id
"5511999999999@c.us"
Show child attributes