Summary Zalo message
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/SummaryZaloMessage_V4_post_json/
Content Type: application/json
Response Type: application/json
Request body:
ApiKey
string
Your API Key.
SecretKey
string
Your Secret Key.
Phone
string
The phone number of receivers.
Params
string
The values that need to pass according to the template variables. *Notes:
The values must be placed in the correct order with the registered template.
If the parameter is duplicated, just place one.
TempID
string
Template của 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.
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.
ErrorMessage
string
The error message if the request is invalid.
TotalPrice
string
The cost of submit.
TotalReceiver
string
Total valid receivers in submit.
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