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

GET http://rest.esms.vn/MainService.svc/json/GetSmsReceiverStatus_get?&ApiKey={{ApiKey}}&SecretKey={{SecretKey}}&RefId={{SMSID}}

  • Response Type: application/json

curl --location --globoff 'https://rest.esms.vn/MainService.svc/json/GetSmsReceiverStatus_get?ApiKey={{ApiKey}}&SecretKey={{SecretKey}}&RefId={{SMSID}}'
  • Request body:

Parameter
Type
Required
Description

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:

Paramter
Type
Description

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.

Last updated