Maytapi icon

Maytapi

Integrate with Maytapi WhatsApp Unofficial API

Account → Set Ack Preference

AI-generated

Overview

This node integrates with the Maytapi WhatsApp Unofficial API, enabling automation of various WhatsApp-related actions. Specifically for the Account resource and Set Ack Preference operation, it allows users to enable or disable acknowledgment notifications for message delivery on their WhatsApp account.

This feature is useful in scenarios where you want to control whether your WhatsApp instance sends delivery acknowledgment receipts back to senders. For example, businesses might disable acknowledgments to avoid notifying customers that messages have been delivered/read, or enable them to track message delivery status.

Properties

Name Meaning
Phone ID Source How to provide the Phone ID: either "From Credentials" (uses Phone ID stored in credentials) or "Custom" (enter a custom Phone ID). This property is hidden when Resource is "account".
Phone ID The custom Phone ID of your WhatsApp instance. Required if "Phone ID Source" is set to "Custom". Hidden when Resource is "account".
Enable Acknowledgments Boolean flag to enable (true) or disable (false) acknowledgment notifications for message delivery.

Note: For the Account - Set Ack Preference operation, only the Enable Acknowledgments property is relevant and visible.

Output

The node outputs a JSON object representing the response from the Maytapi API after setting the acknowledgment preference. The structure depends on the API response but generally includes success status and any related data or error messages.

No binary data output is produced by this operation.

Example output JSON:

{
  "success": true,
  "message": "Acknowledgment preference updated"
}

Dependencies

  • Requires an API key credential for authenticating with the Maytapi API.
  • The Phone ID must be provided either via credentials or as a custom input (except for Account resource operations where it is not required).
  • The node makes HTTP requests to https://api.maytapi.com/api endpoints.

Troubleshooting

  • Missing Phone ID Error: If the Phone ID is not provided when required (for resources other than Account), the node throws an error: "Phone ID is required. Please provide it in credentials or select custom Phone ID."
  • API Authentication Errors: Ensure the API key credential is correctly configured and valid.
  • Invalid Property Values: For example, providing invalid JSON in other operations can cause errors, but for this operation, mainly ensure the boolean for acknowledgment is properly set.
  • Network Issues: Connectivity problems to the Maytapi API endpoint will cause request failures.

Links and References


This summary focuses on the Account resource and Set Ack Preference operation as requested.

Discussion