Create a Maw object. This endpoint requires the input parameters consent
, mobileNumber
, countryCode
, and templateId
, all of which are mandatory. The templateId can be either tpl-maw002001
or tpl-maw004001
. The template tpl-maw002001
is support IN or MX. The template tpl-maw004001is specifically for Mexican phone numbers, and the countryCode must be MX. The phone number must include the country code. It also supports MD5 encryption in the format: MD5(countryCode + phoneNumber). For example: MD5(639559991234). When in sandbox mode and using the test mobile number
639559991234, templateId =
tpl-maw002001and countryCode
PH, mock items will be returned along with a
resultCodeof
SUCCESS. For any other valid mobile number and countryCode, the
resultCodewill be
NO_DATA` and no items will be returned.
post https://sandbox.smileapi.io/v1/alpha/maws