Send customer care message using POST TEXT
API dùng để gửi tin Quảng cáo đến khách hàng. Mỗi request tối thiểu 30 số để được duyệt tin và tối đa 5000 số.
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/SendMultipleSMSBrandname
Content Type: application/text/plain
Response Type: application/json
Request body
APIKEY
string
Your API Key.
SECRETKEY
string
Your Secret Key.
CONTENT
string
The content of SMS.
SMSTYPE
string
Type of SMS 1: Advertising.
BRANDNAME
string
The name of the sender is shown in the header of the customer's message. Pre-registration is required.
PHONE
string
The phone number of receiver.
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
Response:
Valid request.
Response body:
CodeResult
string
Response code.
SMSID
string
The message id eSMS system.
ErrorMessage
string
The error message if the request is invalid.
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