API-ի տisղեկատվություն

live-chat

Այս տարածքում կա 12 վերջնակետ: Յուրաքանչյուրն ունի իր սեփական էջը՝ իր պարամետրերով, պատասխանով և գործարկելի հարցումով:

ՄեթոդՈւղիԻնչ է այն անումԹույլտվություն
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