WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node interacts with the WaAPI API to retrieve information about a specific channel by its ID. It is useful when you need to fetch detailed data about a particular communication channel, such as for monitoring, reporting, or integration purposes within an automation workflow.

A practical example would be automating the retrieval of channel details in a messaging or newsletter system where channels represent different communication streams or groups.

Properties

Name Meaning
Id Instance ID (a required numeric identifier for the instance running the node)
Channel Id The unique identifier of the channel to retrieve, typically formatted like <channelId>@newsletter

Output

The node outputs JSON data containing the details of the requested channel. This JSON structure corresponds to the response from the WaAPI API's "Get Channel By Id" endpoint and includes all relevant channel information as provided by the API.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the WaAPI API.
  • The node uses the base URL https://waapi.app/api/v1.
  • The request headers specify Accept: application/json and Content-Type: application/json.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an incorrect or non-existent Channel Id will result in errors or empty responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors typically indicate invalid credentials; verify and update the API key.
    • Not found errors suggest the Channel Id does not exist; double-check the channel identifier.
    • Timeout or network errors require checking internet connection or API availability.

Links and References

Discussion