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
info
The auth
query parameter is your private key. You can find it in your Dashboard under Developer -> Private Key.
Parameteres | ||
---|---|---|
Query | ||
auth | string | Go to Dashboard->Developer->Private Key is the 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
}
]