Chats REST Endpoints

Collaboration/Chats
The chats resource is used to start or leave a chat, invite or view chat participants, or send a message on an existing chat. Real-time messages can be sent and received using chats.
Get messages
Method: get
Path: /rest/ofscCollaboration/v1/chats/{chatId}/messages
Get participants
Method: get
Path: /rest/ofscCollaboration/v1/chats/{chatId}/participants
Invite a participant
Method: post
Path: /rest/ofscCollaboration/v1/chats/{chatId}/participants/invite
Leave a chat
Method: post
Path: /rest/ofscCollaboration/v1/chats/{chatId}/leave
Send a message
Method: post
Path: /rest/ofscCollaboration/v1/chats/{chatId}/messages
Start a new chat
Method: post
Path: /rest/ofscCollaboration/v1/chats