Gửi tin ZNS
HTTP request
Example request
curl
-X POST
-H "Content-Type: application/json" -d '{
"phone": "84987654321",
"template_id": "7895417a7d3f9461cd2e",
"template_data": {
"ky": "1",
"thang": "4/2020",
"start_date": "20/03/2020",
"end_date": "20/04/2020",
"customer": "Nguyễn Thị Hoàng Anh",
"cid": "PE010299485",
"address": "VNG Campus, TP.HCM",
"amount": "100",
"total": "100000",
},
"tracking_id":"tracking_id",
"has_fallback_sms": true,
"fallback_sms": {
"brandname": "Freetalk",
"content": "Nội dung tin nhắn cần gửi",
"delay_seconds": 60
}
}' "https://zns.api.gobysend.com/api/message/send"Tham số header
Tham số fallback_sms
Example response
English version:
HTTP request
Example request
Header param
Request body structure
Parameter fallback_sms
Example request
Data attribute structure
Last updated