Conversation APIs
Overview
1. Get Conversation Messages
{ "items": [ { "_id": "msg_c41ae57d-a851-4556-b79b-e9b3cce8e2d9", "doc_name": "message", "public_id": "msg_c41ae57d-a851-4556-b79b-e9b3cce8e2d9", "organization_id": "org_imbrace", "business_unit_id": "bu_imbrace_testing", "conversation_id": "conv_f262dad4-dcb1-44b9-8d7e-407b022dc4b7", "from": "con_1b1a92ca-af43-48c2-80bf-663a5458263f", "type": "quick_reply", "content": { "title": "Red", "payload": "0_iMBrace x DEV - Imbrace TW", "description": "" }, "created_at": "2024-12-10T09:53:17.127Z", "updated_at": "2024-12-10T09:53:17.127Z" }, { "_id": "msg_86889109-cecf-4fa0-b237-2fe2dc92cde4", "doc_name": "message", "public_id": "msg_86889109-cecf-4fa0-b237-2fe2dc92cde4", "organization_id": "org_imbrace", "business_unit_id": "bu_imbrace_testing", "conversation_id": "conv_f262dad4-dcb1-44b9-8d7e-407b022dc4b7", "from": "u_71585462-0af0-4581-a72b-e82141dcb1c2", "type": "response", "content": { "title": "", "text": "Jane test MC from Postman", "quick_replies": [ { "id": 0, "content_type": "text", "title": "Red", "payload": "0_iMBrace x DEV - Imbrace TW" }, { "id": 1, "content_type": "text", "title": "Blue", "payload": "1_iMBrace x DEV - Imbrace TW" }, { "id": 2, "content_type": "text", "title": "White", "payload": "2_iMBrace x DEV - Imbrace TW" } ] }, "created_at": "2024-12-10T09:53:09.246Z", "updated_at": "2024-12-10T09:53:09.246Z" }, { "_id": "msg_18c859c2-88c3-4ff5-a2c6-7c638e7a6bee", "doc_name": "message", "public_id": "msg_18c859c2-88c3-4ff5-a2c6-7c638e7a6bee", "organization_id": "org_imbrace", "business_unit_id": "bu_imbrace_testing", "conversation_id": "conv_f262dad4-dcb1-44b9-8d7e-407b022dc4b7", "from": "u_ed1ffffc-73ca-4dc3-85fc-2c7da6c87b7a", "type": "text", "content": { "text": "okokokokokok", "is_mail": false }, "created_at": "2024-12-10T09:51:51.910Z", "updated_at": "2024-12-10T09:51:51.910Z" } ], "count": 304, "total": 10, "has_more": true }{ "message": "conversation_id is required" }{ "message": "Unauthorized" }{ "message": "Conversation not found" }curl --location 'https://app-gateway.dev.imbrace.co/3rd/conversations/conv_f262dad4-dcb1-44b9-8d7e-407b022dc4b7/messages?limit=10&skip=0' \ --header 'x-access-token: api_2f576a7d-f7eb-4748-9ec0-b295d7204de1'
2. Get Conversation Links by Phone Numbers
Last updated