WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation lists all devices associated with a specific WhatsApp session using the WARest WhatsApp REST API. It is useful for monitoring and managing the devices connected to a session, such as checking which devices are currently linked to a WhatsApp account. For example, a user can retrieve device details to audit active devices or troubleshoot connection issues.

Use Case Examples

  1. List all devices linked to a WhatsApp session to verify active connections.
  2. Retrieve device information for a session to monitor device usage and security.

Properties

Name Meaning
Session ID Identifier of the WhatsApp session for which to list devices. It can be selected from a list of existing sessions or entered manually.

Output

JSON

  • json - Array of device objects associated with the specified session.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and corresponds to an active session; otherwise, the API call will fail.
  • Verify that the API credentials (base URL and API key) are correctly configured and have the necessary permissions.
  • If no devices are returned, confirm that the session is active and has devices linked to it.

Links

Discussion