Links

Send Livechat Offline Message

Send the offline message when no agent is available to attend the omnichannel conversation.
HTTP Method
URL
Requires Auth
POST
/api/v1/livechat/offline.message
no

Body

Key
Example Value
Description
name*
Livechat Visitor
Message name.
email*
Visitor email.
message*
I need help
Message text.
department*
Support
Department name.
host*
null
User name of the agent.

Example Call

curl --location 'http://localrocket:3000/api/v1/livechat/offline.message' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Livechat Visitor",
"email": "[email protected]",
"message": "I need help",
"department": "Support",
"host": "null"
}'

Example Result

{
"message": "Livechat offline message sent",
"success": true
}
Last modified 3mo ago
Rocket.Chat versions receive support for six months after release.