cURL
curl --request PATCH \ --url https://api.openmail.sh/v1/threads/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "is_read": true } '
{ "ok": true }
Update a thread’s read status. Use this to mark a thread as read after your agent has processed it, or as unread to re-queue it for later processing.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Set to true to mark as read, false to mark as unread
Thread updated
Was this page helpful?