Lấy danh sách các mẫu tin nhắn (Template) đã có trong hệ thống.
Request Information
Link Request API (METHOD POST):
https://api.abenla.com/zbs/template/list
Information Request
URI Parameters
None.
Request Body Parameters
| Name | Description | Type |
|---|---|---|
| brand_name |
Tên thương hiệu (Brandname) của OA cần lấy danh sách mẫu tin. |
string |
| login_name |
Tên tài khoản đăng nhập hoặc định danh người dùng API. |
string |
| sign |
Chữ ký bảo mật (hash MD5) dùng để xác thực tính toàn vẹn của yêu cầu. View More |
string |
Request Formats
application/json, text/json, text/html
Sample:
{
"brand_name": "Abenla",
"login_name": "ABL1234",
"sign": "691a5659131a04e0a831472e7a4ba33b"
}
Response Information
Resource Description
| Name | Description | Type |
|---|---|---|
| data |
Danh sách chi tiết các mẫu tin nhắn ZNS tìm thấy. |
Collection of TemplateListData |
| code |
Mã lỗi trả về từ hệ thống (enum). |
ErrorCode |
| message |
Thông điệp lỗi hoặc mô tả phản hồi. |
string |
Response Formats
application/json, text/json, text/html
Sample:
{
"data": [
{
"zalo_template_id": "1234567",
"template_name": "Xác nhận đơn hàng",
"created_time": "2026-04-12T15:09:08.7467897+07:00",
"status": "ENABLE",
"template_quality": "MEDIUM"
},
{
"zalo_template_id": "7891011",
"template_name": "Thông báo khách hàng",
"created_time": "2026-03-12T15:09:08.7467897+07:00",
"status": "REJECT",
"template_quality": "UNDEFINED"
}
],
"code": 106,
"message": "Success"
}