Tài liệu tham khảo API

live-chat

Có 17 điểm cuối trong khu vực này. Mỗi điểm cuối có một trang riêng với các tham số, phản hồi và yêu cầu mà quý vị có thể thực hiện.

Tất cả tài liệu dành cho nhà phát triển →

Phương thứcĐường dẫnChức năngQuyền
GET/v1/chat/canned-repliesThe saved answers operators insert with a shortcut.livechat.view
POST/v1/chat/canned-repliesSave an answer for reuse.livechat.manage
DELETE/v1/chat/canned-replies/{cannedReplyId}Delete a saved answer.livechat.manage
GET/v1/chat/conversations/{conversationId}One conversation's full transcript.livechat.view
POST/v1/chat/conversations/{conversationId}/closeClose a conversation.livechat.reply
POST/v1/chat/conversations/{conversationId}/messagesAn operator answers a visitor.livechat.reply
POST/v1/chat/conversations/{conversationId}/transferHand a conversation to a colleague.livechat.reply
GET/v1/chat/inboxEvery live conversation, and what is new in each.livechat.view
GET/v1/chat/widgetsThe chats this organisation runs.livechat.view
POST/v1/chat/widgetsCreate a chat for a site.livechat.manage
GET/v1/chat/widgets/{widgetId}One chat's settings and its AI allowance.livechat.view
PATCH/v1/chat/widgets/{widgetId}Change a chat's settings, or switch it on.livechat.manage
POST/v1/chat/widgets/{widgetId}/copy-settingsCopy this chat's branding and settings onto other sites' chats.livechat.view
DELETE/v1/chat/widgets/{widgetId}/logoStop showing a logo in this chat window.livechat.manage
POST/v1/chat/widgets/{widgetId}/logoUpload the logo shown in this chat window's header.livechat.manage
GET/v1/chat/widgets/{widgetId}/settings-exportDownload this chat's portable settings as a file.livechat.view
POST/v1/chat/widgets/{widgetId}/settings-importApply a settings file to this chat.livechat.manage