---
title: "Mark one inbox item read"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mark one inbox item read

Path: CloudRaker Workspace API › Inbox

`POST /workspace/inbox/{itemId}/read`

Resolves one inbox row, and what that MEANS depends on the row’s `kind` (R8-07). A `mention` is resolved outright — nothing else ever closes one, so reading it is finishing it: the row becomes `done` and leaves the default `status=open` listing and the badge. An `approval`, a `task` or a `parked` row becomes `read` and STAYS open — it is still the caller’s blocking work, and only the work behind it closing resolves it. A `connector` row is neither: it is dismissed until the connection FAILS A CHECK again, at which point it comes back unread — the breakage, not the reading, owns its lifetime. **Authorization:** the API verifies the personal recipient or fresh shared-space read access, including task assignment, before relaying the write. Another user’s personal row and inaccessible shared rows return 404. `itemId` is the row id both readers publish (`id` here, `itemId` on `GET /api/me/work`) or, for a `connector` row, the connection id. A `refId` is NOT accepted: it names the approval / task / question, which repeats across sessions, so it can never identify one row.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `itemId` (`markWorkspaceInboxItemRead.path.itemId`; string, required)

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/workspace/inbox/<itemId>/read' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/workspace/inbox/<itemId>/read';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/workspace/inbox/<itemId>/read"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

The updated item.

#### Example

```json
{
  "data": {
    "id": "string",
    "userId": "string",
    "kind": "approval",
    "document": {
      "artifactId": "string",
      "threadId": "string"
    },
    "sessionId": "string",
    "turnId": "string",
    "refId": "string",
    "title": "string",
    "body": "string",
    "status": "open",
    "createdAt": "string",
    "updatedAt": "string",
    "readAt": "string",
    "unread": true,
    "audience": "space",
    "spaceId": "string",
    "assignee": "string",
    "claimedBy": "string",
    "taskStatus": "string",
    "runId": "string",
    "threadId": "string",
    "runCreatedAt": "string",
    "playbookName": "string",
    "startedBy": "string",
    "runStatus": "string",
    "failureAt": "string",
    "initializationPending": true,
    "legacyImportPending": true,
    "unattended": true,
    "connectionId": "string",
    "reauthUrl": "string",
    "brokenCode": "string"
  }
}
```

- `data` (`markWorkspaceInboxItemRead.response.200.data`; object, required)
  - `id` (`markWorkspaceInboxItemRead.response.200.data.id`; string, required)
  - `userId` (`markWorkspaceInboxItemRead.response.200.data.userId`; string, required)
  - `kind` (`markWorkspaceInboxItemRead.response.200.data.kind`; string, required)
    - one of `"approval"`, `"human_task"`, `"question"`, `"mention"`, `"parked"`, `"run_attention"`, `"connector"`
  - `sessionId` (`markWorkspaceInboxItemRead.response.200.data.sessionId`; string | null, required)
  - `turnId` (`markWorkspaceInboxItemRead.response.200.data.turnId`; string | null, required)
  - `refId` (`markWorkspaceInboxItemRead.response.200.data.refId`; string | null, required)
  - `title` (`markWorkspaceInboxItemRead.response.200.data.title`; string, required)
  - `body` (`markWorkspaceInboxItemRead.response.200.data.body`; string | null, required)
  - `status` (`markWorkspaceInboxItemRead.response.200.data.status`; string, required)
    - one of `"open"`, `"read"`, `"done"`
  - `createdAt` (`markWorkspaceInboxItemRead.response.200.data.createdAt`; string, required)
  - `updatedAt` (`markWorkspaceInboxItemRead.response.200.data.updatedAt`; string, required)
  - `readAt` (`markWorkspaceInboxItemRead.response.200.data.readAt`; string | null, required)
  - `document` (`markWorkspaceInboxItemRead.response.200.data.document`; any of, optional)
    - any of:
      - `object`
        - `artifactId` (`markWorkspaceInboxItemRead.response.200.data.document.1.artifactId`; string, required)
        - `threadId` (`markWorkspaceInboxItemRead.response.200.data.document.1.threadId`; string, required)
      - `null`
  - `unread` (`markWorkspaceInboxItemRead.response.200.data.unread`; boolean, optional)
  - `audience` (`markWorkspaceInboxItemRead.response.200.data.audience`; string, optional)
    - one of `"space"`, `"user"`
  - `spaceId` (`markWorkspaceInboxItemRead.response.200.data.spaceId`; string | null, optional)
  - `assignee` (`markWorkspaceInboxItemRead.response.200.data.assignee`; string | null, optional)
  - `claimedBy` (`markWorkspaceInboxItemRead.response.200.data.claimedBy`; string | null, optional)
  - `taskStatus` (`markWorkspaceInboxItemRead.response.200.data.taskStatus`; string | null, optional)
  - `runId` (`markWorkspaceInboxItemRead.response.200.data.runId`; string | null, optional)
  - `threadId` (`markWorkspaceInboxItemRead.response.200.data.threadId`; string | null, optional)
  - `runCreatedAt` (`markWorkspaceInboxItemRead.response.200.data.runCreatedAt`; string | null, optional)
  - `playbookName` (`markWorkspaceInboxItemRead.response.200.data.playbookName`; string | null, optional)
  - `startedBy` (`markWorkspaceInboxItemRead.response.200.data.startedBy`; string | null, optional)
  - `runStatus` (`markWorkspaceInboxItemRead.response.200.data.runStatus`; string | null, optional)
  - `failureAt` (`markWorkspaceInboxItemRead.response.200.data.failureAt`; string | null, optional)
  - `initializationPending` (`markWorkspaceInboxItemRead.response.200.data.initializationPending`; boolean, optional)
  - `legacyImportPending` (`markWorkspaceInboxItemRead.response.200.data.legacyImportPending`; boolean, optional)
  - `unattended` (`markWorkspaceInboxItemRead.response.200.data.unattended`; boolean | null, optional)
  - `connectionId` (`markWorkspaceInboxItemRead.response.200.data.connectionId`; string | null, optional)
  - `reauthUrl` (`markWorkspaceInboxItemRead.response.200.data.reauthUrl`; string | null, optional)
  - `brokenCode` (`markWorkspaceInboxItemRead.response.200.data.brokenCode`; string | null, optional)

### 404

No such inbox item for this caller.


Source: https://docs.cloudraker.com/workspace/api/inbox/mark-workspace-inbox-item-read/index.md
