description |
---|
Sets omnichannel visitor's satus |
Set Omnichannel visitor's status.
HTTP Method | URL | Requires Auth |
---|---|---|
POST | /api/v1/livechat/visitor.status | no |
Key | Example Value | Description |
---|---|---|
token * | 8s7e9ony6ctl27e1qf8kue | The visitor token. |
status * | busy | The status of the visitor. |
{% code overflow="wrap" %}
curl --location 'https://writing-demo.dev.rocket.chat/api/v1/livechat/visitor.status' \
--header 'Content-Type: application/json' \
--data '{
"token": "54fc5544030bcecda0533",
"status": "busy"
}'
{% endcode %}
{
"token": "54fc5544030bcecda0533",
"status": "busy",
"success": true
}