Inbox State

Upsert per-user dismiss/snooze/done state for an inbox item

Changed on
patch/api/inbox-state

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/inbox-state
  • Auth
    HTTP bearer

Request body

itemType'approval' | 'credential_missing' | 'broken_task' | 'to_read' | 'to_start_template' | 'notification' required
itemIdstring required
status'open' | 'snoozed' | 'dismissed' | 'done' required
snoozeUntilstring date-time
readAtstring date-time
lastReadAtstring date-time nullable

Omit to preserve the read cursor, send null to clear it, or send a timestamp to set it, including an earlier time.

userIdstring required

Response

Upserted inbox state row

Changes