---
title: "Item state"
method: POST
path: "/v1/inbox/items/{id}/state"
tags: ["Today"]
---

# Item state

`POST /v1/inbox/items/{id}/state`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/v1/inbox/items/{id}/state`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- union
  - object
    - `action` 'read', required
  - object
    - `action` 'unread', required
  - object
    - `action` 'done', required
    - `with` Id[]
  - object
    - `action` 'reopen', required
  - object
    - `action` 'snooze', required
    - `preset` '1h' | 'tonight' | 'tomorrow_9' | 'monday_9', required
    - `with` Id[]
  - object
    - `action` 'call_back', required

## Response `200`

OK

- ItemState
  - `readAt` string, date-time, required
  - `snoozedUntil` string, date-time, required
  - `doneAt` string, date-time, required

## Other responses

- `400`: Invalid request (body not JSON, or schema validation failed).
- `401`: Missing, expired or invalid bearer token.
- `404`: No such resource, or not visible to this caller.
- `413`: Body over the limit (64 KB; 512 KB for contact import).
- `500`: Unexpected server error (reported to Sentry).

---

[API](https://skmtc.dev/vicem/apis/vicem-api.md) · [All operations](https://skmtc.dev/vicem/apis/vicem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vicem/apis/vicem-api/revisions/9efcec07e5f4?raw)
