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 | Private Key. (Go to Dashboard -> Developer -> Private Key) |
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": true,
"defaultNotificationEnabled": false,
"roomId": "JbdQ9BTGQJ",
"name": "test room"
},
{
"passwordProtected": false,
"enableOneToOneChat": false,
"moderatorOnlyOneToOneChat": false,
"enableChannels": false,
"showNotificationForAllChannels": false,
"enableLikeMessage": true,
"defaultNotificationEnabled": false,
"roomId": "JJZdwJY-QW",
"name": "room-2"
}
]