Đăng ký Template ZNS
API này giúp bạn đăng ký một Template Zalo Notification Service (ZNS) đã khởi tạo trong hệ thống với Zalo để có thể sử dụng gửi tin nhắn đến người dùng cuối.
Bạn cần cung cấp template_id (ID của template đã khởi tạo) trong params để hoàn tất việc đăng ký.
Endpoint
🔗Endpoint Staging
PATCH https://staging.manage-api.miniap.vn/api/external/zns-template/publish/<template_id>
Example
id : 6870b7eec2fd3b17da55be6d
🔗Endpoint Production
PATCH https://manage-api.miniap.vn/api/external/zns-template/publish/<template_id>
Phản hồi (Response)
- Response
{
"message": "Success",
"data": {
"id": "68c8ede8e4fe66c9d2168054",
"status": "PENDING_REVIEW"
}
}