get_conversation_messages
Retrieve full message history of a customer service conversation using the conversation ID. Understand issue context, audit responses, or track order-related inquiries.
Instructions
取得指定對話的完整訊息記錄。
【用途】 查閱特定客服對話的所有聊天訊息,適用於了解客戶問題脈絡、審核客服回應品質, 或追蹤訂單相關諮詢的處理進度。對話 ID 從 list_conversations 取得。
【呼叫的 Shopline API】
GET /v1/conversations/{conversation_id}/messages
【回傳結構】 dict 含 conversation_id, total_found, returned, messages[]。 每個 message 包含 id, sender_type(發送者類型:customer/staff), content(訊息內容), message_type, created_at。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation_id | Yes | 對話 ID(由 list_conversations 回傳的 id 欄位) | |
| max_results | No | 最多回傳訊息筆數 |