Retrieve specific livechat message information.
HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/livechat/message/:_id | no |
Key | Example Value | Description |
---|---|---|
_id * | AgRFdj96mbHDPrTHq | The message ID. |
Key | Example Value | Description |
---|---|---|
token * | 8s7e9ony6ctl27e1qf8kue | The visitor token. |
rid * | mmqCzYgiL8fzRYfuY | The room ID. |
{% code overflow="wrap" %}
curl --location 'http://localhost:3000/api/v1/livechat/message/txHoTpZdqc5GaTbZ3?token=54fc5544030bcecda053311cb6b98920bdf953f242c1' \
{% endcode %}
{
"message": {
"_id": "AgRFdj96mbHDPrTHq",
"rid": "mmqCzYgiL8fzRYfuY",
"msg": "hi",
"token": "8s7e9ony6ctl27e1qf8kue",
"alias": "Mary",
"ts": "2021-07-13T16:20:26.672Z",
"u": {
"_id": "47Dajwh9DjpnTAugW",
"username": "guest-165",
"name": "Mary"
},
"unread": true,
"_updatedAt": "2021-07-13T16:20:26.776Z",
"urls": [],
"mentions": [],
"channels": [],
"md": [
{
"type": "PARAGRAPH",
"value": [
{
"type": "PLAIN_TEXT",
"value": "hi"
}
]
}
]
},
"success": true
}