Get thread details
POST/thread/:id
Returns a specific thread with all its messages and participant data. Automatically marks the thread as read for the current user. For chat room threads, auto-add users are synced on access. The endpoint also detects messages that have been deleted since the client's last load by comparing the provided loaded message IDs against the database.
Request
Responses
- 200
- 403
Thread data with messages, users, and optionally deleted message IDs
Access denied — user is not a participant of this thread