Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

The "Grant Device Access" operation under the "Team" resource in this node allows you to grant a specific user access to a particular WhatsApp number (device) managed within the Wassenger platform. This is useful in scenarios where team members need controlled access to WhatsApp devices for managing conversations, sending messages, or performing other team-related tasks.

For example, if you have multiple WhatsApp numbers connected to your system and want to delegate access to certain agents or team members, this operation lets you assign those permissions programmatically within an automation workflow.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) to which access will be granted.
User ID The ID of the user (team member) who will be granted access to the specified WhatsApp number.
  • WhatsApp Number: Selected from available WhatsApp devices linked to the account.
  • User ID: Selected from team agents filtered by the chosen WhatsApp device.

Output

The output JSON contains the response from the Wassenger API after attempting to grant access. It typically includes confirmation details about the granted access or error information if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Wassenger WhatsApp API via an API key credential.
  • The node depends on the Wassenger API endpoints related to team management and device access control.
  • Proper permissions and API credentials must be configured in n8n to authenticate requests.

Troubleshooting

  • Common Issues:

    • Invalid or missing WhatsApp Number or User ID parameters can cause failures.
    • Insufficient permissions for the API key may prevent granting access.
    • Network or API downtime could lead to request errors.
  • Error Messages:

    • Errors indicating invalid IDs usually mean the selected device or user does not exist or is not accessible.
    • Authentication errors suggest issues with the API key configuration.
  • Resolutions:

    • Verify that the WhatsApp Number and User ID are correctly selected and valid.
    • Ensure the API key has the necessary permissions for team management operations.
    • Check network connectivity and Wassenger service status.

Links and References

Discussion