WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

The 'Join Group' operation in the 'Groups' resource allows users to join a WhatsApp group by providing a session name and a group code or URL. This functionality is particularly useful for automating the process of joining multiple WhatsApp groups, such as when managing community groups or event-specific chats.

Use Case Examples

  1. Automatically joining a series of event-related WhatsApp groups based on invitation codes stored in a database.
  2. Integrating with a CRM system to add new contacts to relevant WhatsApp groups for customer support or marketing purposes.

Properties

Name Meaning
Session Specifies the session name to be used for the WhatsApp connection. This is essential for authenticating and managing the WhatsApp instance.
Code The invitation code or URL of the WhatsApp group to join. This is required to identify and access the specific group.
Request Options A collection of additional settings to customize the request behavior, including batching, SSL certificate validation, proxy settings, and timeout configurations.

Output

JSON

  • status - Indicates the success or failure of the group joining attempt.
  • groupName - The name of the WhatsApp group that was joined.
  • joinTime - Timestamp of when the group was successfully joined.

Dependencies

  • WhatsApp API credentials
  • An active WhatsApp session

Troubleshooting

  • Ensure that the session name provided matches an active WhatsApp session to avoid authentication errors.
  • Verify that the group code or URL is correct and that the group is accessible to the session.
  • If encountering SSL certificate validation issues, consider setting 'Ignore SSL Issues' to true, but be aware of the security implications.
  • Check network configurations to ensure that proxy settings are correctly configured if used.

Links

Discussion