curl \
-X POST \
"https://api.rumbletalk.com/chats" \
-H "Authorization: Bearer <token>" \
-d "{\"name\":\"My Chat\", \"langId\": \"en\"}"
{
"status": true,
"chatId": 123,
"hash": "a7-b@93c"
}
curl \
-X POST \
"https://api.rumbletalk.com/chats/123/duplicate" \
-H "Authorization: Bearer <token>" \
-d "{\"name\":\"My Awesome Chat Room\", \"settings\": true}"
{
"status": true,
"chatId": 124,
"hash": "77-b@23A"
}
curl \
-X GET \
"https://api.rumbletalk.com/chats" \
-H "Authorization: Bearer <token>"
{
"status": true,
"count": 2,
"data": [
{
"id": 424120,
"langId": 1,
"name": "My chat!",
"type": 0,
"hash": "3Ao-i9Eb",
"monetizeLogin": 1,
"systemMessages": 0,
"anonymous": 1,
"guestAvatar": 1,
"register": 1,
"registerTermsLink": "",
"registerTermsTitle": "By clicking here you accept our terms and conditions",
"allowListeners": 1,
"forceSDKLogin": null,
"allowLinks": 1,
"allowImages": 1,
"allowAudio": 1,
"allowVideo": 1,
"allowSmiles": 1,
"upload": 1,
"uploadAdmin": null,
"p2pAudio": 1,
"p2pAudioAdmin": null,
"p2pVideo": 1,
"p2pVideoAdmin": null,
"filterWords": null,
"archive": 1,
"sendArchive": 1,
"allowPrivateChat": 1,
"privateChatAdmin": 0,
"userslist": 1,
"userslistAdmin": 0,
"autoInvite": null,
"inviteFriends": 1,
"offline": null,
"offlineMessage": null,
"offlineShowForm": null,
"offlineMessageEmail": null,
"httpsOnly": 0,
"messagesFromBottom": 0,
"sound_userJoined": 1,
"sound_userLeft": 1,
"sound_message": 1,
"sound_privateMessage": 1,
"sound_notice": 1,
"sound_ring": 4,
"mentions": 1,
"privateChat": 1,
"options_sound": 1,
"options_privateChatPopup": 1,
"options_adminMode": 1,
"options_fontSize": 1,
"options_qr": 1,
"options_exportTranscript": 1,
"options_openChatInNewWindow": 1,
"options_clearChatMessages": 1,
"groupChatWelcomeMessage": "",
"groupChatWelcomeMessageDelay": 1,
"privateChatWelcomeMessage": "",
"privateChatWelcomeMessageDelay": 1,
"createDate": 1457818322,
"lastUsed": null
},
...
]
}
curl \
-X PUT \
"<>https://api.rumbletalk.com/chats/123456>" \
-H "Authorization: Bearer <token>" \
-d "{\"name\":\"My New Chat Name\", \"langId\": \"de\"}"
{
"status": true
}
curl \
-X DELETE \
"https://api.rumbletalk.com/chats/123456" \
-H "Authorization: Bearer <token>"
{
"status": true
}