Chat Room
This page describes the REST APIs to create/update/delete chatroom and chatroom messages.
get
https://api.deadsimplechat.com/consumer/api
/v1/chatrooms
Get All Chat Rooms
get
https://api.deadsimplechat.com/consumer/api
/v1/chatroom/:roomId
Get A Chat Room
delete
https://api.deadsimplechat.com/consumer/api
/v1/chatroom/:roomId
Delete Chat Room
delete
https://api.deadsimplechat.com/consumer/api
/v1/chatroom/:roomId/messages
Delete Chat Room Messages
post
https://api.deadsimplechat.com/consumer/api
/v1/chatroom
Create Chat Room
customization object can be passed to customize the chat room user interface, it has the following keys
1
customization: {
2
"sidebarColor": "",
3
"backgroundColor": "",
4
"textColor": "",
5
"fontFamily": "",
6
"useCustomFont": "",
7
"fontSize": "",
8
"hideOnlineUsersList": "",
9
"hideOnlineUserCounter": "",
10
"hideEmojiPicker": "",
11
"hideMarkdownSuggestions": "",
12
"hideProfilePics": "",
13
"hideClaimAndEditProfileButtons": "",
14
"hideNotificationButton": "",
15
"hideLoginFields": "",
16
"hideHeader": "",
17
"hideSidebar": "",
18
"collapseSidebar": "",
19
"sidebarTextColor": "",
20
"chatMessageColor": "",
21
"chatUnapprovedMessageBackgroundColor": "",
22
"buttonColor": "",
23
"buttonHoverColor": "",
24
"buttonTextColor": "",
25
"chatMessageFont": "",
26
"usernameFont": "",
27
"modalFont": "",
28
"timestampFont": "",
29
"sendButtonIconColor": "",
30
"sendButtonBackgroundColor": "",
31
"textareaBackgroundColor": "",
32
"textareaBorderColor": "",
33
"textareaFontSize": "",
34
"chatMessageHoverColor": "",
35
"usernameFontSize": "",
36
"timestampFontSize": "",
37
"sidebarHeadingTextColor": "",
38
"headerBackgroundColor": "",
39
"headerTextColor": "",
40
"headerFontSize": "",
41
"modalBackgroundColor": "",
42
"modalFontColor": "",
43
"modalHeadingFontSize": "",
44
"modalLabelFontSize": ""
45
}
Copied!
put
https://api.deadsimplechat.com/consumer/api
/chatroom/:roomId
Update Chat Room
Last modified 1mo ago