API సూచన
live-chat
ఈ ప్రాంతంలో 12 ఎండ్పాయింట్లు ఉన్నాయి. ప్రతీదానికి దాని స్వంత పారామీటర్లు, రెస్పాన్స్ మరియు మీరు రన్ చేయగల రిక్వెస్ట్తో కూడిన ప్రత్యేక పేజీ ఉంటుంది.
| ద్ధతి | పాత్ | ఇది ఏమి చేస్తుంది | అనుమతి |
|---|---|---|---|
| GET | /v1/chat/canned-replies | The saved answers operators insert with a shortcut. | livechat.view |
| POST | /v1/chat/canned-replies | Save 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}/close | Close a conversation. | livechat.reply |
| POST | /v1/chat/conversations/{conversationId}/messages | An operator answers a visitor. | livechat.reply |
| POST | /v1/chat/conversations/{conversationId}/transfer | Hand a conversation to a colleague. | livechat.reply |
| GET | /v1/chat/inbox | Every live conversation, and what is new in each. | livechat.view |
| GET | /v1/chat/widgets | The chats this organisation runs. | livechat.view |
| POST | /v1/chat/widgets | Create 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 |