WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation retrieves an invite code for a specified group in a messaging or social platform. It is useful for automating the process of obtaining invite codes to share with others for group access. For example, it can be used in workflows that manage group memberships or automate group invitations.

Use Case Examples

  1. Automatically fetch the invite code for a group to send it via email or messaging.
  2. Use the invite code to add new members to a group programmatically.

Properties

Name Meaning
Session The session name used to identify the user session for the request.
Id The unique identifier of the group for which the invite code is requested.
Request Options Additional options to customize the request such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • inviteCode - The invite code string for the specified group.
  • groupId - The ID of the group for which the invite code was retrieved.
  • session - The session name used for the request.

Dependencies

  • Requires an API key or authentication token to access the messaging platform's API.

Troubleshooting

  • Ensure the session name is valid and active; invalid sessions may cause authentication errors.
  • Verify the group ID is correct and the user has permission to access the group's invite code.
  • If using a proxy, confirm the proxy settings are correct and accessible.
  • Timeout errors may occur if the server is slow or unresponsive; consider increasing the timeout value.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this is insecure and should be used cautiously.

Discussion