DinastiAPI Group icon

DinastiAPI Group

Manage WhatsApp groups with DinastiAPI API

Overview

The node "DinastiAPI Group" enables management of WhatsApp groups through the DinastiAPI API. It supports a variety of group-related operations such as creating groups, retrieving group information, managing invite links, joining or leaving groups, updating group settings (name, description, announcement mode, ephemeral message duration, locked status), handling group photos, and managing participants (adding, removing, promoting, demoting).

This node is beneficial in scenarios where automated WhatsApp group management is needed, for example:

  • Automatically creating groups and adding participants based on business logic.
  • Fetching group details to monitor or log group metadata.
  • Managing group membership dynamically by adding or removing users.
  • Updating group settings like announcements or ephemeral messages programmatically.
  • Handling group invite links for controlled access.

Practical example: A company could use this node to create a new customer support WhatsApp group, add relevant agents automatically, set the group to announcement-only mode, and later update the group photo or description as needed.

Properties

Name Meaning
Group JID The unique identifier (JID) of the WhatsApp group, e.g., 120363312246943103@g.us. Required for most group-specific operations like getting info, invite link, leaving, setting announce mode, topic, ephemeral messages, locking, renaming, photo changes, and participant updates.

(Note: Only the "Group JID" property is relevant for the "Get Info" operation as per the provided input properties.)

Output

The node outputs JSON data representing the response from the DinastiAPI API for the selected operation. For the "Get Info" operation, the output JSON contains detailed information about the specified WhatsApp group, such as its name, participants, settings, and other metadata returned by the API.

No binary data output is produced for the "Get Info" operation.

Dependencies

  • Requires an API key credential for authenticating with the DinastiAPI API.
  • The node uses internal helper functions to validate phone numbers and prepare media data.
  • Network connectivity to the DinastiAPI service endpoint is necessary.

Troubleshooting

  • Missing or invalid Group JID: The "Group JID" must be correctly specified; otherwise, the API call will fail. Ensure the JID format matches WhatsApp group identifiers.
  • API authentication errors: If the API key credential is missing or invalid, requests will be rejected. Verify that the correct API key is configured.
  • Network issues: Connectivity problems can cause request failures. Check network access to the DinastiAPI service.
  • Unexpected API responses: If the API returns errors, inspect the error message included in the node's output when "Continue On Fail" is enabled.
  • Incorrect operation parameter: Using an unsupported operation value may cause errors; ensure "info" is selected for getting group info.

Links and References

  • DinastiAPI Official Documentation (for API reference and usage)
  • WhatsApp Group JID format explanation: Generally, group JIDs end with @g.us and are numeric strings identifying the group.

Discussion