Add user to chat
Chat users
Add user to chat
Adds a user to the chat.
The following restrictions apply:
- The chat must be active.
- The requester must be present on the list of chat users. You can override it by setting the
ignore_requester_presenceparameter. - You can’t have more than one
customerin the chat. - Additional agents must also have access to the chat.
customermust be added withvisibility: all.
POST
Add user to chat
Required scopes: or
Authorizations
Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.
Body
application/json
The chat ID.
The user ID.
The user type.
Available options:
agent, customer Visibility of the user in the chat. customer must be added with all.
Available options:
all, agents If true: the requester doesn't need to be present on the list of chat users.
Response
200
User added to chat.