Skip to the documentation
API

Mark a thread done

Archive it for everyone.

POST/threads/{id}/done

Runs the real call on your workspace.

POST /threads/{id}/done

Archive it for everyone.

Example

Needs threads:write. The thread leaves the inbox for the archive for everyone on the workspace, and doneBy and doneAt say who marked it done and when. Answers with the assignment.

curl
curl -X POST "$OE/threads/thr_7c1e4a90/done" -H "$AUTH"
Response
{  "object": "thread_assignment",  "threadId": "thr_7c1e4a90",  "assignee": {    "object": "team_member",    "id": "usr_2f9c1d",    "name": "Grace Hopper",    "email": "[email protected]"  },  "assignedBy": {    "object": "team_member",    "id": "usr_8a41be",    "name": "Ada Lovelace",    "email": "[email protected]"  },  "assignedAt": "2026-10-14T09:12:44.000Z",  "doneBy": {    "object": "team_member",    "id": "usr_2f9c1d",    "name": "Grace Hopper",    "email": "[email protected]"  },  "doneAt": "2026-10-14T11:02:10.000Z"}

A key acts for the workspace owner. A key limited to particular addresses or domains reaches only the threads that arrived at them, and any other thread is a 404.

Reference