Why it matters
When users or tenants request an export, ship a documented format, authenticate the requester and do not email transcripts to unverified addresses.
Practical steps
- Verify the requester owns the chat/tenant.
- Export in a simple format (JSON/CSV) with a schema version.
- Omit secrets and redact tokens if they appear in messages.
- Deliver via a short-lived signed URL.
- Log who exported what and when.
Watch out for
- Posting the full export into a public channel.
- Exports that include other tenants' data due to a missing filter.