Adding a new webhook

To add a new webhook, follow these steps:

  1. Navigate to the “Webhook Settings” page. Refer to this section "Navigating to the "Webhook Settings" page".
  2. Click on the “Add Webhook” button.
Figure 120: The "Add Webhook" button.

The "Add Webhook" button.

  1. You will be redirected to the “Add webhook” page.

The "Add Webhook" page.

  1. Enter a descriptive name that reflects the purpose, or the events associated with the webhook.
  2. Enter a valid URL that starts with HTTPS. This is where the webhook will send its updates.
  3. Choose the types of events for which you want to receive notification payloads. You can select one or more of the following options:

a. WhatsApp Message:

Figure 122: The "WhatsApp Message" options.

The "WhatsApp Message" options.

b. Viber

Figure 123: The "Viber" options.

The "Viber" options.

c. Google RCS:

Figure 124: The "Google RSC" options.

The "Google RCS" options.

d. SMS:

Figure 125: The "SMS" options.

The "SMS" options.

e. Instagram

The "Instagram" Options


  1. Click on the “Verify and Save” button, then a confirmation message will appear to indicate that the webhook has been successfully added.

The "Verify and Save" button

A confirmation message is appearing to indicate that the webhook has been successfully added.

❗️

Notes:

  • When you add a webhook for the first time, a POST request will be sent to the webhook URL. If the endpoint does not return a successful (200 OK) HTTP response within 5 seconds, the URL will be deemed invalid, and an error message will indicate that it is invalid, displaying "URL Non Ok Status!". Additionally, a POST request will be sent whenever you edit the webhook.
  • You can add multiple webhooks to the same channel, using either the same events or different events according to your preference.