Skip to main content

Get Export Channel Messages

Get Export Channel Messages


GET
https://api.deadsimplechat.com/consumer/api/v1/chatroom/:roomId/channel/:channelId/export/messages?auth={{SECRET_KEY}}

Get Export Messages

Export All the Messages in the Channel

Export Messagedescription
Parameters
Path
roomIdstringID of the chat room you want to export
channelIdstringID of the channel you want to export
Query
authstringGo to Dashboard -> Developer -> Private Key is your auth
timezonestringOptional. IANA timezone name used to render every exported timestamp, e.g. Europe/London
timestampFormatstringOptional. Format used to render every exported timestamp

Responses

200

JSON

asd - 09-15-2021 11:24
hell world

asd - 09-15-2021 11:24
good job


400

JSON

{
"message": "invalid chatroom id"
}