Facebook conversations

Example Facebook conversation details

{
    "status": "success",
    "data": [
        {
            "userHasPermissionToView": true,
            "displayNumber": 758108,
            "encodedCaseDisposition": 1,
            "status": "INPROGRESS",
            "assignedToAgent": {
                "name": "KH-Ryan Pierson",
                "email": "[email protected]",
                "lswUuid": "01e638e1-4eb1-4ebe-9290-example"
            },
            "lswUuid": "90853b54-3d5e-4964-aec0-example",
            "createDate": 1594150259084,
            "responsePortalLink": "https://example.com/portal/conversation/758108",
            "primaryMessage": {
                "lakeProperties": [],
                "listeningTokenExternalId": "123456789362946",
                "userHasPermissionToView": true,
                "isSourceHidden": false,
                "gdprdeleted": false,
                "conversationDisplayId": 758108,
                "network": "facebook",
                "networkinstance": "facebook",
                "lswUuid": "332e0364-0b7c-4691-bdd9-470f55cb5ff4",
                "author": {
                    "gdprMarked": false,
                    "gdprScrubbed": false,
                    "scopedIds": [
                        {
                            "id": "3540028889341469",
                            "instance": "123456789362946",
                            "scope": "PAGE"
                        },
                        {
                            "id": "Abyr7t4_EkaLTeiX",
                            "instance": "123456789362946",
                            "scope": "BUSINESS"
                        }
                    ],
                    "lswUuid": "61454101-351f-424f-87e4-087b12b76ad9"
                },
                "receiveDate": 1594150259000,
                "publishDate": 1594150257000,
                "postContent": "This is a message.",
                "url": "",
                "isPrivate": true,
                "tags": [
                    {
                        "creator": {
                            "type": "SYSTEM"
                        },
                        "tagId": 12,
                        "lswUuid": "b52ed1b5-610c-11e4-b829-063c8f57ca44"
                    },
                    {
                        "creator": {
                            "type": "SYSTEM"
                        },
                        "tagId": 32,
                        "lswUuid": "b52ee1c0-610c-11e4-b829-063c8f57ca44"
                    },
                    {
                        "creator": {
                            "type": "SYSTEM"
                        },
                        "tagId": 360,
                        "lswUuid": "0b150e32-dd11-4125-b871-668e937a77c9"
                    },
                    {
                        "creator": {
                            "type": "SYSTEM"
                        },
                        "tagId": 361,
                        "lswUuid": "f5dd0a38-1e5b-4d98-af93-2b4e3d5a3af9"
                    }
                ],
                "createdDuringBusinessHours": true,
                "isSourceDeleted": false
            },
            "messages": [
                {
                    "lakeProperties": [],
                    "listeningTokenExternalId": "194872147362946",
                    "userHasPermissionToView": true,
                    "isSourceHidden": false,
                    "gdprdeleted": false,
                    "conversationDisplayId": 758108,
                    "network": "facebook",
                    "networkinstance": "facebook",
                    "lswUuid": "332e0364-0b7c-4691-bdd9-470f55cb5ff4",
                    "author": {
                        "gdprMarked": false,
                        "gdprScrubbed": false,
                        "scopedIds": [
                            {
                                "id": "3540028889341469",
                                "instance": "123456789362946",
                                "scope": "PAGE"
                            },
                            {
                                "id": "Abyr7t4_EkaLTeiX",
                                "instance": "123456789362946",
                                "scope": "BUSINESS"
                            }
                        ],
                        "lswUuid": "61454101-351f-424f-87e4-087b12b76ad9"
                    },
                    "receiveDate": 1594150259000,
                    "publishDate": 1594150257000,
                    "postContent": "This is a message.",
                    "url": "",
                    "isPrivate": true,
                    "tags": [
                        {
                            "creator": {
                                "type": "SYSTEM"
                            },
                            "tagId": 12,
                            "lswUuid": "b52ed1b5-610c-11e4-b829-063c8f57ca44"
                        },
                        {
                            "creator": {
                                "type": "SYSTEM"
                            },
                            "tagId": 32,
                            "lswUuid": "b52ee1c0-610c-11e4-b829-063c8f57ca44"
                        },
                        {
                            "creator": {
                                "type": "SYSTEM"
                            },
                            "tagId": 360,
                            "lswUuid": "0b150e32-dd11-4125-b871-668e937a77c9"
                        },
                        {
                            "creator": {
                                "type": "SYSTEM"
                            },
                            "tagId": 361,
                            "lswUuid": "f5dd0a38-1e5b-4d98-af93-2b4e3d5a3af9"
                        }
                    ],
                    "createdDuringBusinessHours": true,
                    "isSourceDeleted": false
                },
                {
                    "lakeProperties": [],
                    "userHasPermissionToView": true,
                    "isSourceHidden": false,
                    "gdprdeleted": false,
                    "conversationDisplayId": 758108,
                    "network": "facebook",
                    "networkinstance": "facebook",
                    "lswUuid": "b1b76e55-8536-4c3d-822d-2feffb21c530",
                    "author": {
                        "gdprMarked": false,
                        "gdprScrubbed": false,
                        "scopedIds": [],
                        "lswUuid": "cf23beb2-0632-4250-b52b-7b3a1ce39e1f"
                    },
                    "publishDate": 1594151644000,
                    "postContent": "Hello! This is a response.",
                    "url": "",
                    "isPrivate": true,
                    "tags": [
                        {
                            "creator": {
                                "type": "SYSTEM"
                            },
                            "tagId": 361,
                            "lswUuid": "f5dd0a38-1e5b-4d98-af93-2b4e3d5a3af9"
                        }
                    ],
                    "respondingAgent": {
                        "name": "KH-Ryan Pierson",
                        "email": "[email protected]",
                        "lswUuid": "01e638e1-4eb1-4ebe-9290-4b0304f44a55"
                    },
                    "inResponseToDocLswUuid": "332e0364-0b7c-4691-bdd9-470f55cb5ff4",
                    "responseHandle": "Ecohaus",
                    "customerWaitTimeMillis": 1388000,
                    "createdDuringBusinessHours": true,
                    "isSourceDeleted": false
                }
            ],
            "tags": [
                {
                    "creator": {
                        "type": "SYSTEM"
                    },
                    "tagId": 361,
                    "lswUuid": "f5dd0a38-1e5b-4d98-af93-2b4e3d5a3af9"
                }
            ],
            "priority": 2,
            "workQueue": {
                "lswUuid": "e07f302b-c731-4ea7-9a18-7459f4a4680d",
                "id": 19
            },
            "notes": [
                {
                    "source": "UI",
                    "createDate": 1594184843000,
                    "note": "",
                    "agent": {
                        "name": "Kh-Chaitra",
                        "email": "[email protected]",
                        "lswUuid": "571d7ee6-5ae6-4892-bc1a-c18dd4024166"
                    }
                }
            ],
            "lswPermalink": "https://example.com/console/agent/758108",
            "totalResponses": 1,
            "hasResponse": false
        }
    ]
}