GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Account → Set Settings

AI-generated

Summary

Update the authenticated GREEN-API instance’s message-sending, online-status, read-marking, and webhook settings. Send selected settings to the setSettings endpoint once per incoming workflow item.

Inputs

  • settings (required) — Collection of optional settings. Only values that are not null or undefined are submitted; boolean values are converted to 'yes' or 'no'.
  • settings.delaySendMessagesMilliseconds — Message-sending delay in milliseconds; defaults to 15000 when added, which is also the recommended value.
  • settings.deletedMessageWebhook — Enable notifications about deleted messages; defaults to false.
  • settings.editedMessageWebhook — Enable notifications about edited messages; defaults to false.
  • settings.incomingCallWebhook — Enable notifications about incoming calls; defaults to false.
  • settings.incomingWebhook — Enable notifications about incoming messages and files; defaults to false.
  • settings.keepOnlineStatus — Keep the WhatsApp account’s online status; defaults to false.
  • settings.markIncomingMessagesReaded — Submit the incoming-message read-marking setting; defaults to false. The UI describes this as marking messages read on an API reply, but the implementation sends markIncomingMessagesReaded and separately checks markIncomingMessagesReadedOnReply, which is not exposed in the UI.
  • settings.outgoingAPIMessageWebhook — Enable notifications about messages sent through the API; defaults to false.
  • settings.outgoingMessageWebhook — Enable notifications about messages sent from the phone; defaults to false.
  • settings.outgoingWebhook — Enable notifications about outgoing-message statuses; defaults to false.
  • settings.pollMessageWebhook — Enable notifications about polls; defaults to false.
  • settings.stateWebhook — Enable notifications about instance authorization-state changes; defaults to false.
  • settings.webhookUrl — URL to receive notifications; defaults to an empty string when added.
  • settings.webhookUrlToken — Token for accessing your notification server, entered in a password-masked field; defaults to an empty string when added.

Output shape

One output item containing the API’s JSON response per incoming workflow item.

The response is passed through without transformation; its fields are not defined in the source. Each output is paired with its input item. With Continue On Fail enabled, a failed request returns an item containing an error message instead.

Links

Discussion