DinastiAPI Group icon

DinastiAPI Group

Manage WhatsApp groups with DinastiAPI API

Overview

This node allows managing WhatsApp groups using the DinastiAPI service. It supports a variety of group-related operations such as creating groups, retrieving group information, managing participants, setting group properties (name, description, photo, announcement mode, locked status), handling invite links, and configuring disappearing messages (ephemeral messages).

The Set Ephemeral operation specifically enables or disables disappearing messages in a WhatsApp group by setting the duration after which messages will automatically disappear.

Practical scenarios include:

  • Automatically clearing chat history in groups after a set period to maintain privacy.
  • Disabling disappearing messages if permanent message retention is required.
  • Managing ephemeral settings programmatically for multiple groups in bulk workflows.

Properties

Name Meaning
Group JID The unique identifier (JID) of the WhatsApp group to manage, e.g., 120363312246943103@g.us. Required for most group operations including setting ephemeral messages.
Duration Duration for disappearing messages in the group. Options:
- Off: Disable disappearing messages
- 24 Hours: Messages disappear after 24 hours
- 7 Days: Messages disappear after 7 days
- 90 Days: Messages disappear after 90 days

Output

The node outputs JSON data representing the response from the DinastiAPI service for the requested operation. For the Set Ephemeral operation, the output typically includes confirmation details about the updated ephemeral message settings for the specified group.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the DinastiAPI WhatsApp service.
  • The node depends on the external DinastiAPI REST endpoints to perform group management actions.
  • Proper network connectivity to the DinastiAPI service is necessary.

Troubleshooting

  • Error: Binary property "..." not found — This error does not apply to the Set Ephemeral operation but may occur in other operations involving images. Ensure the specified binary property exists in the input data.
  • Invalid Group JID — Make sure the Group JID is correctly formatted and corresponds to an existing WhatsApp group.
  • API Authentication Errors — Verify that the API key credential is valid and has sufficient permissions.
  • Network Issues — Check internet connectivity and DinastiAPI service availability.
  • If the node fails and "Continue On Fail" is disabled, execution will stop immediately; enabling it allows processing subsequent items despite errors.

Links and References

Discussion