Actions35
- Chat Actions
- Chatwoot Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Webhook → Get Webhook
AI-generatedOverview
This node operation retrieves the current webhook configuration for a WhatsApp instance using the MegaAPI service. It is useful for users who want to check or verify the webhook settings that are currently active for their WhatsApp integration, ensuring that notifications and events are properly configured to be received.
Use Case Examples
- A user wants to confirm the webhook URL and settings configured for their WhatsApp instance to troubleshoot notification issues.
- A developer needs to programmatically fetch the webhook configuration to display it in a custom dashboard or for auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Information | A notice informing the user that this operation will retrieve the current webhook configuration for the WhatsApp instance. |
Output
JSON
webhookConfig- The current webhook configuration details retrieved from the WhatsApp instance
Dependencies
- Requires MegaAPI WhatsApp service credentials including an API token and base URL for authentication and API access.
Troubleshooting
- If the node throws an error about unknown webhook operation, ensure the operation parameter is set to 'getWebhook'.
- Authentication errors may occur if the API token or base URL credentials are missing or incorrect; verify credentials in the node settings.
- If no webhook configuration is returned, check that a webhook has been configured previously in the WhatsApp instance settings.
Links
- MegaAPI WhatsApp Webhook Documentation - Official documentation for managing webhook configurations in MegaAPI WhatsApp service.