Wuzapi Admin icon

Wuzapi Admin

Administrative operations for Wuzapi WhatsApp API

Overview

This node, named "Wuzapi Admin," provides administrative operations for managing users in the Wuzapi WhatsApp API system. Specifically, the Create User operation allows you to create a new user with various configuration options such as webhook URLs, event subscriptions, proxy settings, and S3 storage configurations.

Typical use cases include:

  • Automating user onboarding by programmatically creating users with specific tokens and settings.
  • Setting up webhook URLs to receive real-time events related to the user.
  • Configuring proxy and S3 storage options for advanced network or media handling requirements.

For example, you might use this node to create a new WhatsApp API user with a custom webhook URL to receive message notifications and enable S3 storage for media files.

Properties

Name Meaning
User Name The name of the user to be created (e.g., "John Doe").
User Token Authentication token associated with the user (sensitive/password field).
Additional Options A collection of optional settings:
- Webhook URL URL to which events related to the user will be sent.
- Events Types of events to subscribe to (e.g., "All", "Message", "Presence").
- Proxy Configuration Settings for proxy usage including enabling proxy and specifying proxy URL (e.g., socks5://...).
- S3 Configuration Settings for S3 storage including access key, secret key, bucket name, endpoint URL, region, media delivery method (Base64, S3, Both), path style URLs, public URL, retention days, and whether S3 is enabled.

Output

The node outputs JSON data representing the response from the Wuzapi Admin API after performing the create user operation. This typically includes details about the newly created user or an error message if the operation failed.

The output structure is an array of JSON objects corresponding to each input item processed. Each object contains the API response fields returned by the server.

No binary data output is produced by this node.

Dependencies

  • Requires an API authentication token credential to connect to the Wuzapi Admin API.
  • The node makes HTTP requests to the configured Wuzapi Admin API endpoint.
  • If proxy or S3 options are used, those external services must be properly configured and accessible.
  • No additional environment variables are explicitly required beyond the API credentials.

Troubleshooting

  • Common issues:

    • Invalid or missing user token may cause authentication failures.
    • Incorrect webhook URL format can lead to webhook delivery errors.
    • Misconfigured proxy settings may prevent successful API communication.
    • S3 configuration errors (wrong keys, bucket names, or endpoints) can cause media storage failures.
  • Error messages:

    • Errors returned from the API are passed through in the output JSON under an error field.
    • Network or authorization errors typically indicate problems with the API token or connectivity.
  • Resolution tips:

    • Verify that the user token is correct and has necessary permissions.
    • Ensure webhook URLs are reachable and correctly formatted.
    • Double-check proxy URLs and enablement flags.
    • Confirm S3 credentials and bucket exist and have proper access rights.

Links and References

Discussion