Lấy danh sách template
curl
-X GET
-H "Content-Type: application/json" "https://zns.api.gobysend.com/api/template/all?offset=0&limit=100&status=2"{
"error": 0,
"message": "Success",
"data": [
{
"createdAt": 1634720490.000000000,
"updatedAt": 1634720490.000000000,
"price": 300.0,
"oaId": 5,
"zaloOaId": "3409209006176399066",
"templateId": 214430,
"templateName": "OTP Xác nhận giao dịch",
"status": "ENABLE",
"templateQuality": "HIGH",
"listParams": [
{
"name": "otp",
"require": true,
"type": "STRING",
"maxLength": 10,
"minLength": 0,
"acceptNull": false
}
],
"timeout": 15000,
"previewUrl": "https://zns.oa.zalo.me/znspreview/BISvOFghnw9uv3XOU6iz3g==",
"templateTag": "OTP",
"applyTemplateQuota": false,
"templateDailyQuota": 0,
"templateRemainingQuota": 0
}
],
"metadata": {
"total": 1,
"page": 0,
"size": 10
}
}English version:
HTTP request
Example request
Header param
Param
Last updated