Real-Time WhatsApp API Webhooks for Your Backend
Automate your system workflows on incoming messages or delivery status changes. Receive instant HTTP callbacks with standard JSON payloads and high security.
// Contoh Payload Webhook Pesan Masuk (message.received) dari Wagy
{
"event": "message.received",
"timestamp": 1740000000,
"device_id": "dev_982141",
"data": {
"message_id": "WA_MSG_9081241",
"from": "628123456789",
"name": "Budi Santoso",
"message": "Halo min, mau tanya stok barang ini ready?",
"media_url": "https://api.wagy.web.id/api/v1/media/dev_982141/WA_MSG_9081241?sig=..."
}
}Wagy Webhook System Highlights
Callback infrastructure engineered for high performance, maximum security, and data availability.
HMAC-SHA256 Signature Validation
Every event is dispatched with X-Wagy-Signature header so your backend can verify request authenticity and prevent spoofing.
Low-Latency Instant Notifications
Incoming customer messages are broadcasted to your webhook endpoint in less than 1 second after server receipt.
Auto-Retry Callbacks on Server Timeout
If your server endpoint experiences downtime or responds with HTTP 5xx, Wagy retries event delivery in exponential backoffs.
7-Day Presigned Inbound Media URLs
Media messages (images/documents) come with secure 7-day presigned URLs protected by HMAC tokens.
Multi-Event Standardized Payloads
Supports full events: message.received, message.sent, message.delivered, message.read, message.failed, and device.status_update.
Easy Localhost Testing
Easily connectable to tunneling tools like ngrok or n8n to accelerate prototyping and debugging.
Still Have Questions?
Answers to the most frequently asked questions by business partners and developers.