Evolution API NK icon

Evolution API NK

Interact with Evolution API (Nakamura Fork)

Evento → Webhook

AI-generated

Summary

Set or check webhook configurations for the specified instance in the Evolution API.

Inputs

  • instanceName (required) — Provide the name of the instance that will send the webhook messages.
  • resourceForWebhook (required) — Choose to either set a new webhook ('Definir Webhook') or verify an existing webhook ('Verificar Webhook').
  • enabled — Enable or disable the webhook integration (only applies when setting a webhook).
  • webhookUrl — Specify the URL that will receive webhook event notifications (only applies when setting a webhook).
  • webhookByEvents — Decide whether to create individual webhook routes by appending event names to the URL (only when setting a webhook).
  • webhookBase64 — Choose whether to send media data encoded in base64 format within the webhook payload (only when setting a webhook).
  • webhookEvents — Select one or multiple events to subscribe to for webhook notifications (only when setting a webhook).

Output shape

a list containing the result of the webhook operation, either confirming the webhook setup or returning webhook details

The output is returned as a JSON array containing the API's response. When 'setWebhook' is selected, the response confirms the webhook configuration. When 'findWebhook' is selected, the response includes the current webhook information.

Discussion