Wuzapi Admin icon

Wuzapi Admin

Administrative operations for Wuzapi WhatsApp API

Overview

This node provides administrative operations for managing users and global system settings in the Wuzapi WhatsApp API environment. It is useful for automating user management tasks such as creating new users, deleting existing users (partially or fully), listing all users, and interacting with global system configurations and tests.

Practical examples include:

  • Automatically creating a new user with specific webhook and proxy settings.
  • Deleting a user by their ID when they no longer need access.
  • Retrieving a list of all users to audit or synchronize with another system.
  • Sending test events globally to verify system integrations.
  • Reloading global configuration without manual intervention.

Properties

Name Meaning
User ID ID of the user to delete. Required for "Delete User" and "Delete User Full" operations.

Note: The above property applies specifically to the Delete User operation(s).

Output

The node outputs JSON data representing the result of the selected operation:

  • For Delete User operation, the output JSON contains the response from the API confirming deletion status or error details.
  • In general, the output JSON structure varies depending on the operation but typically includes success confirmation or detailed data objects returned by the API.
  • No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Wuzapi Admin API.
  • The node makes HTTP requests to the Wuzapi Admin API endpoints using the provided credentials.
  • Proper network access to the Wuzapi API server is necessary.

Troubleshooting

  • Invalid User ID: If the user ID is missing or incorrect, the API will return an error. Ensure the User ID is correctly specified.
  • Authentication Errors: If the API key credential is invalid or expired, requests will fail. Verify that the API token is valid and has sufficient permissions.
  • Malformed JSON in Test Data: When sending test events, the test data must be valid JSON; otherwise, the node throws an error.
  • Network Issues: Connectivity problems to the API endpoint can cause request failures. Check network access and endpoint URL correctness.

Links and References

Discussion