Callback Url
When the actual status of the message is available, eSMS will callback the status to the customer's hook via HTTP GET.
The callback will be retried a maximum of 5 times. After 5 attempts, if the customer's URL still times out, the callback will stop.
Sample Callback
Sample callback for customer care messages (SMS type 2):
Sample callback for promo messages (SMS type 1):
Sample callback for Zalo messages (ZNS)
Sample callback for Viber messages
Sample callback for Consulting Messages:
Sample callback for Transaction Messages
Sample callback for user information request form:
Sample callback for ZNS Journey:
Attribute structure:
SMSID
string
ID of the messages
SendFailed
string
Number of failed messages
SendStatus
string
Messages status 1: Pending approval. 2: Waiting to send. 4: Reject. 5: Sent Successfully. 7: Sent to the telco, waiting for the report.
SendSuccess
string
Number of the success messages.
Totalprice
string
Total price
TotalReceiver
string
Total number of recipients
TotalSent
string
Total of the messages sent
RequestId
string
Your requestid
TypeId
string
Type of messages 1: Promo. 2: Customer care/ OTP. 23: Viber. 24: ZNS OTP. 25: Customer care ZNS messages.
telcoid
string
Network 1: Viettel, 2: Mobi, 3: Vina, 4: Vietnammobile, 5: Gtel, 6: Itel, 7: Reddi.
phonenumber
string
Reveiver
partnerids
string
Zalo msgid (Zalo messages only).
error_info
string
Zalo error info (Zalo message only).
oaid
string
OA ID (Zalo message only).
tempid
string
ZNS TemplateID (Zalo message only).
Last updated