Threads
Update a thread
Requires scope: manage or inbox (inbox only in a signed-in dashboard session; no API key or app can hold it). Changes read, folder, status, labels and label_ids; emits thread.updated when something changed. folder: "archive" and status: "archived" move together, and moving an archived thread anywhere else reopens it. folder: "sent" is a 422: a thread is filed there while every message in it is one the agent sent. So is status: "archived" with any folder but archive. A test key cannot move a thread holding live mail to trash (403 live_mode_required).
patch/v1/threads/{id}
Request
- Base URL: https://api.mails.ai
- URL: https://api.mails.ai/v1/threads/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Thread id.
Request body
Response
The updated thread (no messages array).
Changes
No recorded changes to this operation across all 1 revision of this API.