Get message details
This endpoint is used for retriving the list of receivers by SmsId in last 7 days.
The response is the detail of each message including the message status.
HTTP request
Response Type: application/json
curl --location --globoff 'https://rest.esms.vn/MainService.svc/json/GetSmsReceiverStatus_get?ApiKey={{ApiKey}}&SecretKey={{SecretKey}}&RefId={{SMSID}}'
Request body:
ApiKey
string
Your API key.
SecretKey
string
Your Secret key.
RefId
string
The message id that returned by ViHAT
Response:
{
"CodeResult": "100",
"ReceiverList": [
{
"IsSent": true,
"NetworkName": "Viettel",
"Phone": "0901888484",
"Retry": 0,
"SentResult": true
}
]
}
Valid request.
Response body:
IsSent
string
The state of message: true: Message is sent. false: Message is not sent.
NetworkName
string
The telco of phone number.
Phone
string
The phone number of user.
Retry
string
The number of retries.
SentResult
string
The result of message: True: Success. False: Failed.
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