Please note that this API relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.

It is recommended to build future integrations on top of LivePersons Unified Automatic Messages API instead.

Retrieves an Automatic Message by ID for a specific account.

Request

Method URL
GET https://{domain}/api/account/{accountId}/configuration/engagement-window/auto-messages/{autoMessageId}

Path Parameters

Parameter Description Type / Value
autoMessageId Unique account config object ID Positive long number greater than zero

Response

Response Codes

Code Description
200 OK
304 Not Modified
401 Not Authenticated
403 Not Authorized
404 Data Not Found
500 Internal Server Error

Response Body

    {
            "id": 2,
            "deleted": false,
            "enabled": true,
            "messageEventId": "On-hold message #1",
            "templateId": "On-hold message #1",
            "data": [
                {
                    "msg": "I'll be right with you.",
                    "lang": "en-us",
                    "isDefault":true
                },
                {
                    "msg": "Que está conversando {nombre del agente}",
                    "lang": "ca-ES",
                    "isDefault":false
                }
            ],
            "attributes": [
                {
                    "name": "timer",
                    "value": "60"
                }
            ]
    }