STEP 11: Configure Webhooks
Subscribe to Webhooks to get notifications about messages your business receives and customer profile updates.
Whenever a trigger event occurs, the WhatsApp Business Platform sees the event and sends a notification to a Webhook URL you have previously specified. You can get two types of notifications:
  • Message notifications - These notifications are sent when a message is sent to your business account. The message notification contains the message ID, the sender's phone number, and the message content. This alert lets you know when you have received a message. These can also be called "inbound notifications" throughout the documentation.
  • Message status and pricing notifications: These notifications are sent when the status of a message changes. For example, if a message is sent successfully, you will receive a notification with the message ID and the new status. This alert lets you know when a message has been sent or delivered. These can also be called "outbound notifications" throughout the documentation.
Follow the steps below to configure webhooks on your app:
  1. Login to your Text Club application as an admin.
  2. On the left panel, Click on the Whatsapp Onboarding menu item .
  3. Copy the Webhook URL and Verify Token from the page.
  4. Go to the developers.facebook .com/apps page and select your app.
  5. In the left sidebar, click on Whatsapp and then on Configuration.
  6. Paste the Callback URL obtained from step 3 into the Callback URL field.
  7. Paste the Verify Token obtained from step 3 into the Verify Token field.
  8. Click on the Verify and Save button.
  9. Subscribe to the messages events by checking the messages checkbox.