WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation creates a pairing code for a WhatsApp session using the WARest WhatsApp REST API. It is useful for establishing a new session by pairing a phone number with an existing session ID, enabling communication through WhatsApp programmatically. For example, it can be used to automate the process of linking a phone to a WhatsApp session in an integration workflow.

Use Case Examples

  1. Automate pairing a phone number to a WhatsApp session by providing the session ID and phone number to generate a pairing code.
  2. Use in workflows that require dynamic session management and pairing for WhatsApp messaging automation.

Properties

Name Meaning
Session ID Identifier of the WhatsApp session to use for creating the pair code. Can be selected from a list or entered manually.
Pairing Phone Digits-only phone number including country code used for pairing the session.

Output

JSON

  • json - Response JSON object containing the pairing code and related session information.

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 provided is valid and corresponds to an active session in the WARest system.
  • The phone number must be digits-only and include the country code; invalid formats will cause errors.
  • API connectivity issues or invalid credentials will prevent the operation from succeeding.

Links

Discussion