Tin nhắn đa kênh: Zalo => SMS OTP/CSKH
Giải pháp Multi-Channel Messaging API cho phép bạn gửi tin nhắn đến khách hàng bằng tin ZNS và tự động gửi tin SMS nếu tin ZNS gửi thất bại.
HTTP request
curl --location 'https://rest.esms.vn/MainService.svc/json/MultiChannelMessage/' \
--header 'Content-Type: application/json' \
--data '{
"ApiKey": "{{ApiKey}}",
"SecretKey": "{{SecretKey}}",
"Phone": "0901888484",
"Channels": [
"zalo",
"sms"
],
"Data": [
{
"TempID": "205644",
"Params": [
"686868"
],
"OAID": "4097311281936189049",
"campaignid": "Gửi OTP",
"CallbackUrl": "https://esms.vn/webhook/",
"RequestId": "c82cd356-bf49-4113-9466-65a7f6359c97",
"Sandbox":"0",
"SendingMode": "1"
},
{
"Content": "686868 la ma xac minh dang ky Baotrixemay cua ban",
"IsUnicode": "0",
"SmsType": "2",
"Brandname": "Baotrixemay",
"CallbackUrl": "https://esms.vn/webhook/",
"RequestId": "c82cd356-bf49-4113-9466-65a7f6359c98",
"Sandbox":"0"
}
]
}'Tham số
Kiểu dữ liệu
Tính bắt buộc
Mô tả
Tham số
Kiểu dữ liệu
Tinh bắt buộc
Mô tả
Tham số
Kiểu dữ liệu
Tinh bắt buộc
Mô tả
Thuộc tính
Kiểu dữ liệu
Mô tả
Last updated