Chat archive API. All /api/ calls need the header Authorization: Bearer . GET /api/rooms rooms as JSON GET /api/rooms//room.md readable transcript GET /api/rooms//messages.jsonl one JSON object per message (current state), ?since=YYYY-MM-DD GET /api/rooms//export.zip ?format=all|md|json&since=YYYY-MM-DD&nofiles=1 GET /api/rooms//attachments/ one downloaded file Element widget (export button): /addwidget https://archive.34-141-47-207.sslip.io/widget?room=$matrix_room_id