WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation validates a phone number using the WARest WhatsApp REST API. It is useful for scenarios where you need to verify if a phone number is valid and can be used within WhatsApp-related workflows, such as contact validation before sending messages or managing user data.

Use Case Examples

  1. Validate a phone number before sending a WhatsApp message to ensure the number is active and correctly formatted.
  2. Use phone validation in customer onboarding workflows to verify user contact details.

Properties

Name Meaning
Phone Number The phone number to validate, required for the validation process.
Additional Fields Optional additional parameters for validation, including country ISO code and session context for validation helpers.

Output

JSON

  • json
    • isValid - Indicates if the phone number is valid.
    • details - Additional details about the phone number validation result.

Dependencies

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

Troubleshooting

  • Ensure the phone number is provided in the correct format including country code.
  • Check that the API credentials (API key and base URL) are correctly configured and valid.
  • If the node throws an error about the operation not being implemented, verify that the resource is set to 'Miscellaneous' and operation to 'Validate Phone'.
  • Network issues or incorrect API endpoint configuration can cause request failures; verify connectivity and API endpoint correctness.

Links

Discussion