Send personized message via Zalo
This endpoint is used for sending SMS by batch (1 request for multiple SMS) via Zalo with shared or personized content/properties.
It is ideal to send any kind of massive personalized announcement.
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/Send_zns_bulk_v4_post_json/
Content Type: application/json
Response Type: application/json
Request body
ApiKey
string
Your API Key.
SecretKey
string
Your Secret Key.
TempID
string
The ID of template for the OA that is registered and provided by eSMS at Zalo to partner. Each template will have a specified structure of body.
Data: Phone
string
he phone number of receivers.
Data: Params
string
The values that need to pass according to the template variables.
Giá trị cần truyền cho các biến trong Template *Lưu ý:
The values must be placed in the correct order with the registered template.
If the parameter is duplicated, just place one.
SendDate
string
Scheduler the message to the receiver. If it's empty, the message will be instantly sent to the receiver. Format: yyyy-mm-dd hh:MM:ss
OAID
string
Zalo OA Id is the Zalo Official Account Id of the organization. It can be obtained by accessing to the Zalo administrator page.
Note: Pre-registration is required.
Response:
Valid request.
Response body
CodeResult
string
Response code
Message
string
The error message if the request is invalid.
TotalSuccess
string
Number of successfully requests.
detail : CodeResult
string
The detail response code
detail : Phone
string
Phone number of receiver
detail : SMSID
string
The message id corresponding to the phone number.
The detail of error code can refer at Table of error codes .
Get the sample of code for programing languagues to use in Postman refer at Link of code samples.
Last updated