Skip to main content

How to set up webhooks for multiple WhatsApp numbers in Wati

Updated over a week ago

Summary

Wati now supports webhook configurations for multiple WhatsApp numbers, making it easier to manage events across different numbers from a single place. This guide explains how to set up webhooks and what to expect when events are triggered.

Instructions

Follow these steps to configure webhooks for multiple numbers:

Step 1: Open the Webhook settings

  • Log in to your Wati account.

  • From the left-hand menu, click on Webhook.

Step 2: Add a new webhook

  • Click the Add Webhook button.

Step 3: Choose your numbers

  • Select one or more WhatsApp numbers you want the webhook to apply to.

Step 4: Select events to track

  • Choose the event types you want the webhook to listen for (e.g., message received, chat assigned).

Step 5: Save your settings

  • Click Save to activate the webhook for the selected numbers.

When an event is triggered, the webhook payload will include an additional field called channelPhoneNumber. This value tells you which WhatsApp number triggered the event.

Note: The Payment Captured event is currently not supported for multiple numbers. It will only work with the default number.

Frequently Asked Questions (FAQs)

Webhook configuration for multiple numbers

1. What does multi-number webhook support in Wati allow you to do?

Multi-number webhook support in Wati allows you to configure webhooks for multiple WhatsApp numbers, so you can manage events across different numbers from a single place.

2. How do you configure webhooks for multiple WhatsApp numbers in Wati?

To configure webhooks for multiple WhatsApp numbers in Wati:

  • Log in to your Wati account.

  • Click Webhook from the left-hand menu.

  • Click Add Webhook.

  • Select one or more WhatsApp numbers to apply the webhook.

  • Choose the event types to track.

  • Click Save to activate the webhook for the selected numbers.

Webhook events and payload

3. How can you identify which WhatsApp number triggered a webhook event?

You can identify which WhatsApp number triggered a webhook event using the channelPhoneNumber field included in the webhook payload.

4. What types of events can be selected when configuring a webhook?

When configuring a webhook, you can select event types such as message received and chat assigned.

Limitations

5. Are all events supported for multiple WhatsApp numbers in webhooks?

No, not all events are supported for multiple WhatsApp numbers. The Payment Captured event is not supported for multiple numbers and only works with the default number.

Did this answer your question?