Skip to content

Zalo ​

Connect a Zalo Official Account to message followers, manage users and tags, and send ZBS template messages.

Kết nối ​

  • Kiểu xác thực: oauth2

Không yêu cầu OAuth scope.

Actions ​

ActionKeyNhómTác độngRủi roDuyệt
Lấy thông tin OAzalo.get_oaOfficial AccountNONElowkhông
Kiểm tra hạn mức tin nhắnzalo.check_message_quotaOfficial AccountNONElowkhông
Kiểm tra hạn mức nhómzalo.check_group_quotaOfficial AccountNONElowkhông
Kiểm tra cửa sổ 48 giờzalo.check_message_windowOfficial AccountNONElowkhông
Gửi tin nhắn văn bảnzalo.send_textTin nhắnWRITEhighcó
Gửi tin nhắn hình ảnhzalo.send_imageTin nhắnWRITEhighcó
Gửi stickerzalo.send_stickerTin nhắnWRITEhighcó
Gửi tệpzalo.send_fileTin nhắnWRITEhighcó
Gửi tin nhắn có nútzalo.send_buttonsTin nhắnWRITEhighcó
Yêu cầu thông tin người dùngzalo.request_user_infoTin nhắnWRITEhighcó
Gửi tin mẫu theo mã người dùngzalo.send_template_by_uidTin nhắnWRITEhighcó
Danh sách người dùngzalo.list_usersNgười theo dõiNONElowkhông
Chi tiết người dùngzalo.get_userNgười theo dõiNONElowkhông
Cập nhật người dùngzalo.update_userNgười theo dõiWRITEmediumcó
Thông tin tùy chỉnh người dùngzalo.get_user_custom_infoNgười theo dõiNONElowkhông
Cập nhật thông tin tùy chỉnhzalo.update_user_custom_infoNgười theo dõiWRITEmediumcó
Xóa thông tin người dùngzalo.delete_user_infoNgười theo dõiWRITEhighcó
Danh sách trường tùy chỉnhzalo.list_user_fieldsTrường thông tin người theo dõiNONElowkhông
Tạo trường tùy chỉnhzalo.create_user_fieldTrường thông tin người theo dõiWRITEmediumcó
Cập nhật trường tùy chỉnhzalo.update_user_fieldTrường thông tin người theo dõiWRITEmediumcó
Xóa trường tùy chỉnhzalo.delete_user_fieldTrường thông tin người theo dõiWRITEhighcó
Danh sách nhãnzalo.list_tagsNhãnNONElowkhông
Gắn nhãn cho người dùngzalo.tag_userNhãnWRITEmediumcó
Gỡ nhãn khỏi người dùngzalo.untag_userNhãnWRITEmediumcó
Xóa nhãnzalo.delete_tagNhãnWRITEhighcó
Hội thoại gần đâyzalo.list_recent_chatsHội thoạiNONElowkhông
Lấy hội thoạizalo.get_conversationHội thoạiNONElowkhông
Tải ảnh lênzalo.upload_imageTải lênWRITEmediumcó
Tải GIF lênzalo.upload_gifTải lênWRITEmediumcó
Tải tệp lênzalo.upload_fileTải lênWRITEmediumcó
Tạo bài viếtzalo.create_articleBài viếtWRITEmediumcó
Kiểm tra bài viếtzalo.verify_articleBài viếtNONElowkhông
Cập nhật bài viếtzalo.update_articleBài viếtWRITEmediumcó
Danh sách bài viếtzalo.list_articlesBài viếtNONElowkhông
Chi tiết bài viếtzalo.get_articleBài viếtNONElowkhông
Xóa bài viếtzalo.remove_articleBài viếtWRITEhighcó
Gửi tin ZBS qua số điện thoạizalo.send_templateMẫu ZBSWRITEhighcó
Gửi tin ZBS qua số điện thoại đã mã hóazalo.send_template_hashphoneMẫu ZBSWRITEhighcó
Gửi tin ZBS thử nghiệmzalo.send_template_devMẫu ZBSWRITEmediumcó
Trạng thái tin ZBSzalo.get_message_statusMẫu ZBSNONElowkhông
Hạn mức ZBSzalo.get_quotaMẫu ZBSNONElowkhông
Chất lượng gửi tin ZBSzalo.get_qualityMẫu ZBSNONElowkhông
Danh sách template ZBSzalo.list_templatesMẫu ZBSNONElowkhông
Chi tiết template ZBSzalo.get_templateMẫu ZBSNONElowkhông
Dữ liệu mẫu template ZBSzalo.get_template_sample_dataMẫu ZBSNONElowkhông
Tạo template ZBSzalo.create_templateMẫu ZBSWRITEmediumcó
Sửa template ZBSzalo.edit_templateMẫu ZBSWRITEmediumcó
Tải ảnh template ZBSzalo.upload_template_imageMẫu ZBSWRITEmediumcó
Đánh giá của khách hàngzalo.list_ratingsMẫu ZBSNONElowkhông
Phản hồi nhanh của khách hàngzalo.list_quick_responsesMẫu ZBSNONElowkhông
Tạo nhóm chatzalo.create_groupNhóm chatWRITEmediumcó
Chi tiết nhómzalo.get_groupNhóm chatNONElowkhông
Danh sách nhómzalo.list_groupsNhóm chatNONElowkhông
Cập nhật nhómzalo.update_groupNhóm chatWRITEmediumcó
Đổi gói của nhómzalo.update_group_assetNhóm chatWRITEmediumcó
Mời thành viên vào nhómzalo.invite_group_membersNhóm chatWRITEmediumcó
Thành viên nhómzalo.list_group_membersNhóm chatNONElowkhông
Yêu cầu vào nhóm đang chờzalo.list_group_pendingNhóm chatNONElowkhông
Duyệt yêu cầu vào nhómzalo.accept_group_pendingNhóm chatWRITEmediumcó
Từ chối yêu cầu vào nhómzalo.reject_group_pendingNhóm chatWRITEmediumcó
Xóa thành viên khỏi nhómzalo.remove_group_membersNhóm chatWRITEhighcó
Thêm phó nhómzalo.add_group_adminsNhóm chatWRITEmediumcó
Gỡ phó nhómzalo.remove_group_adminsNhóm chatWRITEmediumcó
Xóa nhómzalo.delete_groupNhóm chatWRITEhighcó
Tin nhắn trong nhómzalo.get_group_conversationNhóm chatNONElowkhông
Nhóm có tin nhắn gần đâyzalo.list_group_recent_chatsNhóm chatNONElowkhông
Gửi tin nhắn vào nhómzalo.send_group_messageNhóm chatWRITEmediumcó
Xin phép được gọizalo.request_call_consentCuộc gọiWRITEhighcó
Kiểm tra quyền gọizalo.check_call_consentCuộc gọiNONElowkhông
Thông tin tổng đàizalo.get_call_center_infoCuộc gọiNONElowkhông
Tạo liên kết gọi đếnzalo.create_inbound_call_linkCuộc gọiWRITEmediumcó
Tạo liên kết gọi đizalo.create_outbound_call_linkCuộc gọiWRITEmediumcó
Danh mục cửa hàngzalo.list_categoriesCửa hàngNONElowkhông
Tạo danh mụczalo.create_categoryCửa hàngWRITEmediumcó
Cập nhật danh mụczalo.update_categoryCửa hàngWRITEmediumcó
Xóa danh mụczalo.delete_categoryCửa hàngWRITEhighcó
Danh sách sản phẩmzalo.list_productsCửa hàngNONElowkhông
Chi tiết sản phẩmzalo.get_productCửa hàngNONElowkhông
Tìm sản phẩmzalo.search_productsCửa hàngNONElowkhông
Tạo sản phẩmzalo.create_productCửa hàngWRITEmediumcó
Cập nhật sản phẩmzalo.update_productCửa hàngWRITEmediumcó
Xóa sản phẩmzalo.delete_productCửa hàngWRITEhighcó
Loại sản phẩmzalo.list_product_typesCửa hàngNONElowkhông
Tải ảnh sản phẩmzalo.upload_product_photoCửa hàngWRITEmediumcó
Danh sách đơn hàngzalo.list_ordersCửa hàngNONElowkhông
Chi tiết đơn hàngzalo.get_orderCửa hàngNONElowkhông
Cập nhật trạng thái đơn hàngzalo.update_order_statusCửa hàngWRITEmediumcó
Kết quả form quảng cáozalo.get_ads_formQuảng cáoNONElowkhông

Events ​

zalo.message_received ​

A follower sent the OA a message.

FieldKiểuMô tả
user_idstring
user_id_by_appstring
msg_idstring
message_typestring
textstring
attachmentsarray
quote_msg_idstring

zalo.oa_message_sent ​

The OA sent a message, from the OA chat tool or through the API. A message an Agent sends with a zalo.send_* action also arrives here with sent_by = api, so a automation on this event must filter sent_by = admin or the Agent will loop on its own replies.

FieldKiểuMô tả
user_idstring
msg_idstring
message_typestring
textstring
attachmentsarray
sent_bystring
admin_idstring

zalo.anonymous_message_received ​

An anonymous (not following) user sent the OA a message.

FieldKiểuMô tả
anonymous_idstring
conversation_idstring
msg_idstring
message_typestring
textstring
attachmentsarray

zalo.message_delivered ​

An OA message reached the user's device (Zalo mobile only).

FieldKiểuMô tả
user_idstring
msg_idstring

zalo.message_seen ​

The user read OA messages (Zalo mobile only).

FieldKiểuMô tả
user_idstring
msg_idsarray

zalo.message_reacted ​

A user or the OA reacted to a message.

FieldKiểuMô tả
user_idstring
msg_idstring
react_iconstring
bystring

zalo.user_followed ​

A user followed the OA.

FieldKiểuMô tả
user_idstring
sourcestring

zalo.user_unfollowed ​

A user unfollowed the OA.

FieldKiểuMô tả
user_idstring
sourcestring

zalo.user_submitted_info ​

A user answered the OA's request-info form.

FieldKiểuMô tả
user_idstring
namestring
phonestring
user_dobstring
genderstring
addressstring

zalo.user_info_updated ​

A user's info was updated.

FieldKiểuMô tả
user_idstring
methodstring

zalo.user_clicked_chat_now ​

A user tapped the Message button on the OA profile (once per user per OA).

FieldKiểuMô tả
user_idstring

zalo.user_tags_changed ​

Users were tagged or untagged, or a tag was deleted. change is added, removed or tag_deleted.

FieldKiểuMô tả
changestring
tag_namestring
user_idsarray

zalo.user_data_request ​

A user asked to withdraw consent or delete their data; the request fields are passed as sent.

FieldKiểuMô tả
user_idstring

A call-consent request was sent to a user, or expired.

FieldKiểuMô tả
phonestring
statusstring

A user accepted or declined the OA's call request.

FieldKiểuMô tả
phonestring
user_idstring
acceptedstring

zalo.call_ended ​

A voice call between a user and the OA ended.

FieldKiểuMô tả
call_idstring
call_typestring
call_durationstring
status_codestring
user_idstring

zalo.group_message_received ​

A member sent a message in a group chat.

FieldKiểuMô tả
group_idstring
user_idstring
msg_idstring
message_typestring
textstring
attachmentsarray

zalo.group_members_changed ​

Members joined, left, were requested, accepted, rejected, removed or had their admin role changed. change is the event name.

FieldKiểuMô tả
group_idstring
changestring
user_idsarray

zalo.group_changed ​

A group was created, deleted or its info updated. change is the event name.

FieldKiểuMô tả
group_idstring
changestring

zalo.zbs_delivered ​

A ZBS Template Message reached the recipient's phone.

FieldKiểuMô tả
phonestring
msg_idstring
tracking_idstring
delivery_timestring

zalo.zbs_template_status_changed ​

A ZBS template's approval status or sending quality changed.

FieldKiểuMô tả
template_idstring
statusstring
qualitystring
reasonstring

zalo.zbs_quota_changed ​

The OA's ZBS daily quota or allowed template tags changed; the payload holds the changed values as sent.

Không có field payload.

zalo.zbs_feedback ​

A user rated a ZBS message or tapped a quick-response button.

FieldKiểuMô tả
msg_idstring
tracking_idstring
ratestring
notestring
feedbacksarray
button_textstring

zalo.shop_order_created ​

A Zalo Shop order was placed.

FieldKiểuMô tả
order_idstring
customer_idstring

zalo.shop_order_updated ​

A Zalo Shop order changed status.

FieldKiểuMô tả
order_idstring
statusstring