Skip to main content
PATCH
/
v2
/
notes
/
{note_id}
cURL
curl "https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9" \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer $MEM_API_KEY" \
     --request PATCH \
     --data '{
         "content": "# Updated title\n\nUpdated markdown content."
     }'
{
  "collection_ids": [
    "59508b41-8770-4855-aa37-302b1e09aee7",
    "026b426c-14fb-4f22-8d98-7a9121bfaec8"
  ],
  "content": "# Sales Call with Acme Corp\n\nUpdated summary and next steps.",
  "created_at": "2025-04-11T04:47:14.457Z",
  "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
  "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
  "title": "Sales Call with Acme Corp",
  "updated_at": "2025-04-12T10:15:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

note_id
string<uuid>
required

UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.

Body

application/json
content
string
required

Complete markdown body to submit for this write. Send the full desired note body (partial patch semantics are not supported in this request payload). The first line is interpreted as the title.

Maximum string length: 200000
Example:

"# Updated Meeting Notes\n\nDiscussion Topics:\n- Sprint planning\n- Release checklist\n\nAction Items:\n- Finalize scope by Friday\n- Share release notes draft"

updated_at
string<date-time> | null

Optional "last updated" timestamp for this write (ISO 8601). If omitted, the current server time is used.

Example:

"2025-04-02T09:15:22Z"

Response

200 - application/json

OK

request_id
string
required

Identifier for this API request. Useful for tracing and support.

id
string<uuid>
required

UUID of the updated note.

title
string
required

Current note title after the update.

content
string
required

Full markdown content stored after the update.

collection_ids
string<uuid>[]
required

Collection UUIDs currently associated with this note.

created_at
string<date-time>
required

Creation timestamp for the note in ISO 8601 format.

updated_at
string<date-time>
required

Last modification timestamp after the update in ISO 8601 format.