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.",
"version": 3
}'{
"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",
"trashed_at": null,
"updated_at": "2025-04-12T10:15:00.000Z",
"version": 5
}Notes
Update Note
Submit a complete markdown body for a note and the exact version being updated.
Send the full desired body in content (not a partial markdown patch).
The first line of content becomes the updated title.
Trashed notes must be restored before they can be updated.
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.",
"version": 3
}'{
"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",
"trashed_at": null,
"updated_at": "2025-04-12T10:15:00.000Z",
"version": 5
}Authorizations
Path Parameters
Body
application/json
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:
200000Example:
"# 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"
Response
200 - application/json
OK