Chat presence
The contact's last known presence (or each participant's, in a group). WhatsApp only reports it after POST /chats/{chatId}/presence/subscribe, and only for people who share their presence: before that, presences comes back empty. This query is not cached (presence changes within seconds), but it counts toward the repeated query limit: to follow it, use the presence webhook event.
X-Api-Key: wpf_YOUR_KEYThe connection's API key (wpf_...), generated in the dashboard.
Authorization: Bearer wpf_YOUR_KEYThe same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).
chatId*stringThe chat: the chat_id from GET /chats or from the webhooks (...@c.us, ...@lid, ...@g.us), or the phone number with country code and area code. Brazilian phone numbers are checked on WhatsApp, as when sending.
The presence.
application/json- response
data*curl -X GET 'https://app.wappfy.io/api/v1/chats/5581999999999/presence' \ -H 'X-Api-Key: wpf_YOUR_KEY'{ "data": { "chat_id": "string", "is_group": true, "presences": [ { "phone": "string", "presence": "string", "last_seen": 0 } ] }}
