Skip to main content
PATCH
/
v1
/
dev
/
user
/
action-items
/
{action_item_id}
Update action item
curl --request PATCH \
  --url https://api.omi.me/v1/dev/user/action-items/{action_item_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "completed": true
}
'
{
  "id": "<string>",
  "description": "<string>",
  "completed": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "due_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "conversation_id": "<string>"
}

Authorizations

Authorization
string
header
required

Developer API key. Get one from Settings → Developer → Create Key in the Omi app. Keys are prefixed with omi_dev_.

Path Parameters

action_item_id
string
required

The ID of the action item to update.

Body

application/json
description
string

New description.

Required string length: 1 - 500
completed
boolean

New completion status.

due_at
string<date-time>

New due date.

Response

The updated action item.

id
string

Unique identifier.

description
string

The action item text.

completed
boolean

Whether completed.

created_at
string<date-time>
updated_at
string<date-time>
due_at
string<date-time> | null

Due date (null if not set).

completed_at
string<date-time> | null

When completed (null if pending).

conversation_id
string | null

Associated conversation ID.