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

Payload

Argument
Example
Required
Description
name
Livechat Visitor
Required
Message name.
email
Required
Message email.
message
I need help
Required
Message text.

Example payload

1
{
2
"name": "Livechat Visitor",
3
"email": "[email protected]",
4
"message": "I need help"
5
}
Copied!

Example Call

1
curl -X POST \
2
-H "Content-type:application/json" \
3
http://localhost:3000/api/v1/livechat/offline.message \
4
-d '{"name": "Livechat Visitor", "email": "[email protected]", "message": "I need help"}'
Copied!

Example Result

1
{
2
"message": "Livechat offline message sent",
3
"success": true
4
}
Copied!
Export as PDF
Copy link
Edit on GitHub