Whatsapp API
  • Getting Started
    • Dashboard API Overview
    • Register WhatsApp Business API Number
    • Get Channel ID & Link Your App
    • Get Access Token
    • Create WhatsApp Template
  • Whatsapp API
    • WhatsApp API's Overview
    • Media
      • Upload Media
      • Download Media
    • Send Messages
      • Text Mesage
      • Reaction Message
      • Media Message
      • Contact Message
      • Interactive Message
      • Template Message
      • Reply Message
    • Mark Message as Read
    • Set-up Webhook
      • Received Messages
      • Message Status
    • Error Codes
Powered by GitBook
On this page
  1. Whatsapp API

Set-up Webhook

Webhook allows you to receive real-time HTTP notifications from Whatsapp Business Numbers such as inbound Message notifications and delivery status notifications. For example, when your customers send you a message we will notify your webhook or when you send message to your customers the delivery status will be notified to your webhook whether the message already delivered, read, or even failed.

Understanding Webhooks

Whenever event in your Whatsapp Business Number occurs, it will send you a notification via your Webhook URL. You must provide URL that can be reached via HTTPS a connection and have already configured in our system. To configure your webhook make POST request to /{{Channel-ID}}/webhook

Sample request to configure webhook using Curl

curl --location 'https://wa-api.neuapix.com/whatsapp/v3/{{Channel-ID}}/webhook' \
--header 'Authorization: Bearer {{place your token herer}}' \
--header 'Content-Type: application/json' \
--data '{
    "webhooks": {
        "url": "https://your-webhook.com/webhoo"
    }
}'

Successful response:

{
    "success":true
}

There are two types of notifications you will get

PreviousMark Message as ReadNextReceived Messages

Last updated 2 years ago

Received Messages: This type of notification will send you message of your customer to your webhook when customers interact with your Whatsapp Business Numbers, it is also called "Inbound Notification". See

Message Status: Whenever you send a message, you will get the current status of your message whether it is delivered, read, or failed. this type of notification is also called "Outbound Notification". See

message payload here
status payload here