Get callback data
Last updated
Last updated
This endpoint is used for getting the callback data in case of the callback URL is unable to receive the webhook.
If the request does not place the CallbackUrl, this endpoint will not return any information.
POST
Content Type: application/json
Response Type: application/json
Body request:
ApiKey
string
Your API key.
SecretKey
string
Your Secret key.
ListRefid
string
The list of message ids that returned by ViHAT. Maximum is 200 message ids per call.
OAId
string
Zalo OA Id is the Zalo Official Account Id of the organization. It can be obtained by accessing to the Zalo administrator page.
Note: Pre-registration is required.
Response:
Valid request.
Response body:
SMSID
string
Message id that returned by ViHAT.
SendFailed
string
Number of failed messages.
SendSuccess
string
Number of success messages.
SendStatus
string
Message status. 2: In process 5: Sent
TotalPrice
string
The cost of message.
TotalReceiver
string
Total receivers.
TotalSent
string
Total messages are sent.
RequestId
string
The id of client in the request.
TypeId
string
Type of message.
Type 24: ZNS priority.
Type 25: ZNS normal.
Telcoid
string
Mạng viễn thông của thuê bao nhận tin. The telco of phone number.
1: Viettel
2: Mobifone
3: Vinaphone
4: Vietnammobile
5: Gmobile
6: Itel
7: Reddi
PhoneNumber
string
The phone number of receiver
CallbackUrl
string
The URL callback of client.
Partnerids
string
The message id of Zalo
ErrorInfo
string
The error info of request.
OAId
string
Zalo OA Id is the Zalo Official Account Id of the organization. It can be obtained by accessing to the Zalo administrator page.
Note: Pre-registration is required.
ZnsTempId
string
The ID of template for the OA that is registered and provided by eSMS at Zalo to partner. Each template will have a specified structure of body.
The detail of error code can refer at .
Get the sample of code for programing languagues to use in Postman refer at .