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 |