WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI service to retrieve information about a phone number by its instance ID. It is useful in scenarios where you need to fetch details of a specific phone number registered or managed within the WaAPI platform, such as verifying number status, metadata, or configuration.

A practical example would be automating workflows that require validating or processing phone numbers by their unique IDs, for instance, in customer support systems or telephony integrations.

Properties

Name Meaning
Id The unique instance ID of the phone number to retrieve. This is a required numeric identifier.
Number The phone number in international format without the leading "+" or "00". For example, "15553334444". This is required and used as part of the request body.

Output

The node outputs JSON data containing the details of the requested phone number instance. The exact structure depends on the WaAPI response but typically includes fields such as the number's metadata, status, and any associated identifiers.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI service.
  • The node sends requests to the base URL https://waapi.app/api/v1.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing instance ID or phone number input can cause errors.
    • Authentication failures if the API key credential is not set or invalid.
    • Network connectivity issues preventing access to the WaAPI endpoint.
  • Error messages:

    • Errors related to missing required parameters ("Id" or "Number") should be resolved by providing valid inputs.
    • Authentication errors indicate problems with the API key; verify and update credentials.
    • HTTP errors (e.g., 404 or 500) suggest issues with the API endpoint or the provided ID not existing.

Links and References

Discussion