GET ALL Chat Rooms
https://api.deadsimplechat.com/consumer/api/v1/chatrooms
Get ALL Chat Rooms
This endpoint allows you to fetch all the chat rooms in your account
Parameteres | ||
---|---|---|
Query | ||
auth | string | auth token |
Responses | ||
* 200 | Array of all the Chat Rooms in your account, if there are not Chat Room in the account then an empty array will be returned. |
[
{
"passwordProtected": false,
"enableOneToOneChat": false,
"moderatorOnlyOneToOneChat": false,
"enableChannels": false,
"showNotificationForAllChannels": false,
"enableLikeMessage": false,
"defaultNotificationEnabled": false,
"roomId": "y5KppBwpE",
"name": "chatroom name",
"roomPassword": "password",
"preModeratedChatRoom": false
},
{
"passwordProtected": false,
"enableOneToOneChat": false,
"moderatorOnlyOneToOneChat": false,
"enableChannels": false,
"showNotificationForAllChannels": false,
"enableLikeMessage": false,
"defaultNotificationEnabled": false,
"roomId": "x8z343Tlt",
"name": "Demo Chat Room",
"preModeratedChatRoom": false,
"roomPassword": null
}
]