WHMCS โ WhatsApp Notifications
Automatically send WhatsApp messages to your WHMCS clients
Step 1 โ Configure WHMCS Webhook
In WHMCS Admin: Setup โ API โ Hooks โ Add the following URL:
https://your-site.netlify.app/api/v1/whmcs-webhook?api_key=YOUR_API_KEYInvoiceCreatedInvoicePaidInvoicePaymentReminderTicketOpenTicketReplyAfterModuleCreateAfterModuleSuspend
Step 2 โ Supported Events
๐งพ
Invoice Created
Send notification when new invoice is created
โ
Invoice Paid
Confirm payment received
โ ๏ธ
Invoice Overdue
Remind about overdue payments
๐ซ
Ticket Opened
Notify when support ticket is opened
๐ฌ
Ticket Reply
Notify when support ticket gets a reply
๐
Service Activated
Notify when service is activated
๐ด
Service Suspended
Notify when service is suspended
๐ฐ
Payment Reminder
Remind about upcoming payments
Message Templates
Invoice Created
๐งพ *New Invoice #{{invoice_id}}*
Hi {{client_name}},
Total: {{amount}} {{currency}}
Due: {{due_date}}
Pay here: {{invoice_url}}Invoice Paid
โ
*Payment Received*
Hi {{client_name}},
Your payment of {{amount}} {{currency}} for invoice #{{invoice_id}} has been received.
Thank you! ๐Ticket Opened
๐ซ *Support Ticket #{{ticket_id}}*
Hi {{client_name}},
Your support request has been received.
Subject: {{subject}}
Our team will respond shortly.Step 3 โ Test It
Direct API Usage
You can also trigger notifications programmatically:
curl -X POST https://your-site.netlify.app/api/v1/whmcs-webhook \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "InvoicePaid",
"invoiceid": "42",
"userid": "7"
}'