Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (27 loc) · 1.18 KB

File metadata and controls

36 lines (27 loc) · 1.18 KB
description
Sets omnichannel visitor's satus

Set Visitor Status

Set Omnichannel visitor's status.

HTTP MethodURLRequires Auth
POST/api/v1/livechat/visitor.statusno

Body

KeyExample ValueDescription
token*8s7e9ony6ctl27e1qf8kueThe visitor token.
status*busyThe status of the visitor.

Example Call

{% 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 %}

Example Response

{
    "token": "54fc5544030bcecda0533",
    "status": "busy",
    "success": true
}