SMSGatewayCenter enables you to set up a webhook to receive real-time Mobile Originated (MO) responses from WhatsApp users, such as replies to your messages. Here’s how to configure it:
Steps to Add a Webhook for WhatsApp MO Responses: #
- Log In: Access your SMSGatewayCenter account.
- Navigate to Webhooks: Go to the Webhooks section in your dashboard.
- Add a New Webhook: Click Add Webhook and fill in the form:
- Product: Select WhatsApp.
- Webhook Server Send Method: Choose the HTTP method (e.g., POST, GET, JSON, XML).
- Webhook Report Type: Select MO for Mobile Originated responses.
- Waba Number: Choose the WhatsApp Business API (WABA) number associated with your account.
- Webhook (URL Endpoint): Enter the URL where you want to receive the MO data (e.g., https://yourapp.com/mo-webhook).
- Add Custom Parameters/Headers (Optional):
- Check Add Custom Parameters to include additional parameters (e.g., user_id=123).
- Check Add Custom Headers to include custom headers (e.g., Authorization: Bearer token).
- Click Add More to add multiple parameters or headers.
- Test the Webhook: Click Test Webhook to send a test request and view the response in the Webhook Test Response section.
- Save: Click Save Changes to create the webhook.
Best Practices: #
- Ensure your webhook URL can handle the expected payload format (e.g., JSON).
- Use custom parameters to pass additional data (e.g., campaign ID) for better tracking.
This webhook setup ensures you receive WhatsApp MO responses in real-time, enabling quick follow-ups. For assistance, contact our support team.