For the complete documentation index, see llms.txt. This page is also available as Markdown.

Message

Acquire live chat dashboard gives your team leader an overview of agent activity at any given time.

Profile Message API in header parameter Authorization: Bearer [YOUR_API_AUTH_TOKEN], Content-Type : application/x-www-form-urlencoded and body parameter in thread_id, visitor_id, last_chat_id and key send.

Parameter

Value

Path

https://app.acquire.io/api/profile/lead/message

Method

POST

Authorization

Bearer [YOUR_API_AUTH_TOKEN]

Content-type

application/x-www-form-urlencoded

zone

{"timezone":"Central/Alabama","offset":"-05:00"}

Body

Parameter

Value

thread_id

-1

visitor_id

61793

last_chat_id

106241

key

Response JSON


{
    "success": true,
    "error": null,
    "data": {
        "messages": [
            {
                "id": 944199,
                "chat_id": 106241,
                "account_id": 10719,
                "sender_type": "agent",
                "sender_id": 15416,
                "type": "message",
                "message": "Hello",
                "date_created": "2018-07-23 13:45:50",
                "seen": "seen",
                "email_from": null,
                "from": null,
                "to": null,
                "subject": null,
                "body": null,
                "cm_type": null,
                "message_date": null,
                "first_name": "Devid Klok",
                "last_name": "",
                "photo": "pp15337107338831.png",
                "vd_name": "John Deo",
                "vd_id": 61793,
                "bot_name": null,
                "bot_icon": null,
                "parent_bot_name": null,
                "parent_bot_icon": null,
                "offline_chat": 0,
                "user": {
                    "id": null,
                    "type": "agent",
                    "name": "Devid Klok",
                    "photo": "pp15337107338831.png"
                },
                "missed_chat": 0
            },
            {
                "id": 944201,
                "chat_id": 106241,
                "account_id": 10719,
                "sender_type": "visitor",
                "sender_id": 61793,
                "type": "message",
                "message": "Hello",
                "date_created": "2018-07-23 13:45:56",
                "seen": "seen",
                "email_from": null,
                "from": null,
                "to": null,
                "subject": null,
                "body": null,
                "cm_type": null,
                "message_date": null,
                "first_name": null,
                "last_name": null,
                "photo": null,
                "vd_name": "John Deo",
                "vd_id": 61793,
                "bot_name": null,
                "bot_icon": null,
                "parent_bot_name": null,
                "parent_bot_icon": null,
                "offline_chat": 0,
                "user": {
                    "id": null,
                    "type": "visitor",
                    "name": "John Deo",
                    "photo": null
                },
                "missed_chat": 0
            }
        ],
        "co_browse": [],
        "recording": [
            "Welcome"
        ],
        "query_seen": 0
    }
}

Last updated