OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Presence → Subscribe

AI-generated

Summary

Subscribe to presence updates for a WhatsApp chat on the selected session. The subscription is tied to the live connection, so run it again when the session reaches ready after a restart or reconnect; it works with Baileys only.

Inputs

  • Session Name or ID (required) — Select the session or provide its ID.
  • Chat Name or ID (required) — Select a chat or provide its full WhatsApp ID, including its domain. Read presence later using the normalized @c.us form; looking up the same chat as @s.whatsapp.net returns no report.

Output shape

A response from the subscribe request.

Presence subscriptions end when the connection stops or reconnects and are not automatically restored. The operation returns 501 with whatsapp-web.js, which does not report presence.

Links

Discussion