Send fixed number with cheap price
This endpoint is used to send the individually message to the recipient using the fixed number.
It is ideal to send the OTP (One-Time-Password) for use-case like verficiation for example.
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/SendMultipleMessage_V4_post_json/
Content Type: application/json
Response Type: application/json
Request body
ApiKey
string
Your API Key.
Content
string
The message content.
Phone
string
The phone number of receivers.
SecretKey
string
Your Secret Key.
SmsType
string
Message type 8: Fixed number
Unicode
string
Message charset value (default is 0): 1: Unicode.
0: Non-Unicode.
Sandbox
string
Sandbox option value (default is 0): 1: For testing purpose to verify the validation of the request. Message is not charged and sent to the receiver. 0: Message will be processed to the receiver properly.
campaignid
string
The campaign name of the request.
RequestId
string
The identification value for the request to prevent the the request from duplicated.
CallbackUrl
string
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