OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Presence → Get

AI-generated

Summary

Read the latest presence report for a WhatsApp chat in the selected session. Choose the chat using its full WhatsApp ID in the @c.us form; the result can be empty if no report has been received yet.

Inputs

  • Session Name or ID (required) — Select the session or enter its ID.
  • Chat Name or ID (required) — Select the chat or enter its full WhatsApp ID using the @c.us form, such as 628123456789@c.us. The gateway stores reports under normalized IDs, so use this form when reading presence.

Output shape

A single item containing the reported presence data, or an empty object when no report is available.

Presence reports require a prior subscription and are connection-scoped: a restart, Stop/Start, or automatic reconnect ends the subscription. Subscribe again when session.status reaches ready. Presence is unsupported by whatsapp-web.js; Get returns no presence data there.

Links

Discussion