Chats: List of Tasks

You can perform the following tasks using the Chats resource:

Task Task Type URI Description

Get participants

GET

/rest/ofscCollaboration/v1/chats/{chatId}/participants

This operation retrieves the list of participants of a chat.

Invite a participant

POST

/rest/ofscCollaboration/v1/chats/{chatId}/participants/invite

This operation is used to invite another user to the chat. The users can initiate a conference chat by inviting more users to an existing chat.

Leave a chat

POST

/rest/ofscCollaboration/v1/chats/{chatId}/leave

This operation is used to leave an existing chat.

Send a message

POST

/rest/ofscCollaboration/v1/chats/{chatId}/messages

This operation sends a message to an existing chat.

Start a new chat

POST

/rest/ofscCollaboration/v1/chats

This operation creates a new chat with another user or a conference chat with a group of users.