Adding an additional field to callback notifications
We currently have a callback named "sms_events" which subscribes to the events SMS_OPT_IN, SMS_OPT_OUT, SMS_FAILED, SMS_SKIPPED, SMS_MO_FW_FAILED, and SMS_DELIVERY_RECEIPT.
A typical notification from the callback looks something like this:
{
"campaignId": "0",
"riid": "522982622",
"customerId": null,
"failureType": "SMS_OPT_IN",
"channelType": "Sms",
"campaignName": "N/A",
"optionalData": null
}
We would like to see if it is possible to add an additional field to the notification response, such as "TRX_NUMBER_VAR". This would help us tie an SMS back to a transaction. I noticed there is an "optionalData" field being returned -- is it possible to add additional fields in here? And if so, how?
0