Actions20
- Message Actions
- Presence Actions
- Session Actions
- Group Actions
- Contact Actions
Presence → Online
AI-generatedSummary
Sets the WhatsApp presence status to online (available) for a given session, optionally targeting a specific chat.
Inputs
- sessionId (required) — Session ID/name (defaults to 'default').
- to — Optional chat ID (phone number or group ID) to set presence for; if omitted, the presence update applies to the session as a whole.
Output shape
Array of items, each containing the JSON response from the Wacap API under the json property.
The node performs a POST to
/api/send/presencewith{ sessionId, presence: 'available', to?: string }.
Examples
Example 1: Set online status for default session.
Set Session ID to 'default' (or leave default).
Example 2: Set online status for a specific chat.
Set Session ID as needed and provide the target chat ID in the To field.