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 lifecycle management, such as creating users with specific configurations, deleting users partially or fully, listing all users, and interacting with global system statistics and configurations.

A practical example includes:

  • Creating a new user with custom webhook, proxy, S3 storage, and RabbitMQ messaging configurations.
  • Deleting a user completely from the database, S3 storage, and logging them out.
  • Sending test events globally to verify system integrations.

The "Delete User Full" operation specifically deletes a user entirely, including their database records, associated S3 storage, and logs them out of the system.

Properties

Name Meaning
User ID ID of the user to delete. Required for both "Delete User" and "Delete User Full" operations. Example: 4e4942c7dee1deef99ab8fd9f7350de5.

Output

The node outputs JSON data representing the result of the performed operation. For the "Delete User Full" operation, the output typically confirms the deletion status or returns any relevant response from the API regarding the full removal of the user.

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 endpoint specified in the credentials.
  • Proper network access to the Wuzapi Admin API server is necessary.

Troubleshooting

  • Invalid User ID: If the provided User ID does not exist or is malformed, the API may return an error indicating the user was not found. Verify the User ID format and existence.
  • Authentication Errors: Missing or invalid API authentication token will cause authorization failures. Ensure the API key credential is correctly configured.
  • Network Issues: Connectivity problems to the API endpoint can cause request failures. Check network connectivity and endpoint URL correctness.
  • API Response Errors: The node throws errors if the API returns failure responses. Enable "Continue On Fail" to handle errors gracefully within workflows.

Links and References

Discussion