When configuring a Delivery Receipts (DLR) webhook on SMSGatewayCenter, you need to specify several required parameters to ensure proper data delivery. Additional parameters are available for WhatsApp. Here’s what you need:
Required Parameters for All Products (SMS and WhatsApp): #
- Transaction ID Parameter: The name of the parameter for the transaction ID (e.g., txn_id).
- Message ID Parameter: The name for the message ID (e.g., msg_id).
- Error Code Parameter: The name for the error code (e.g., error_code).
- Mobile Number Parameter: The name for the recipient’s mobile number (e.g., mobile).
- Received Time Parameter: The name for the time the message was received (e.g., received_time).
- Delivered Time Parameter: The name for the time the message was delivered (e.g., delivered_time).
Additional Parameters for WhatsApp: #
- Read Time Parameter: The name for the time the message was read (e.g., read_time).
- Status Parameter: The name for the message status (e.g., status).
Best Practices: #
- Use consistent parameter names that match your system’s data structure.
- Test the webhook to ensure all parameters are correctly mapped and received.
Specifying these parameters ensures your DLR webhook on SMSGatewayCenter delivers the right data for your SMS or WhatsApp messages. For assistance, contact our support team.