To send messages in the testing environment, You need to include the params "Sandbox" in the body of the request. The message will not be stored in the eSMS system, no fees will be charged, and the message will not be delivered to the enduser phone.
Truyền Sandbox = 1 cho các api có hỗ trợ môi trường Sandbox.
Body mẫu cho gửi thử nghiệm tin nhắn Chăm sóc khách hàng:
curl --location 'https://rest.esms.vn/MainService.svc/json/SendMultipleMessage_V4_post_json/' \--header 'Content-Type: application/json' \--data '{"ApiKey":"{{ApiKey}}","Content":"Cam on quy khach da su dung dich vu cua chung toi. Chuc quy khach mot ngay tot lanh!","Phone":"{{Phone}}","SecretKey":"{{SecretKey}}","Brandname":"Baotrixemay","SmsType":"2","Sandbox":"1"}'