callback_url parameter in your Send SMS or MMS Message API request. If you provide a callback_url in the API request, Wavix sends the DLR to that URL. Otherwise, Wavix sends the DLR to the default webhook in your account settings.
If you need to allow Wavix IP addresses in your firewall settings, see Webhook IP addresses.
Set up your DLR webhook URL
Using the app
To set a default DLR webhook:- Sign in to your account.
- Go to Account & billing, then select My account.
- Select the Default destinations tab.
- Enter your callback URL in the DLR webhook field.
- Select Save changes.
In each API request
You can also include thecallback_url parameter in your API request when sending a message. If you specify this parameter, Wavix uses it for the DLR instead of the account default.
Request example:
Handling the callbacks
Wavix sends delivery reports as POST requests to your webhook URL. These updates are triggered when a message status changes:- The first report is sent when the message is sent or fails to send.
- The second report is sent when the final delivery status is known (e.g. delivered, undelivered, rejected).