curl -X POST "https://your-domain.com/api/notes/note_abc123/update" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
}
}'
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
},
"folder_id": null,
"access_grants": [],
"updated_at": 1709395500,
"created_at": 1709308800
}
Notes & Folders
Update Note
POST
/
api
/
notes
/
{id}
/
update
curl -X POST "https://your-domain.com/api/notes/note_abc123/update" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
}
}'
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
},
"folder_id": null,
"access_grants": [],
"updated_at": 1709395500,
"created_at": 1709308800
}
Update an existing note by ID.
Authorization
Requires user permissionfeatures.notes or admin role, plus write access to the note.
Path Parameters
Unique identifier of the note to update
Request Body
Updated title of the note
ID of the folder to move the note to
Response
Returns the updated note object.Unique identifier for the note
ID of the note owner
Updated title of the note
Updated note content data
ID of the folder containing the note
Updated access control grants for the note
Unix timestamp of last update
Unix timestamp of creation
curl -X POST "https://your-domain.com/api/notes/note_abc123/update" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
}
}'
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Updated Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary (Updated)\n\nAdded action items..."
}
},
"folder_id": null,
"access_grants": [],
"updated_at": 1709395500,
"created_at": 1709308800
}
Access Control
- Users must have
features.notespermission enabled - User must be the note owner OR have write access via access grants
- Admin users can update any note
- Access grants are filtered based on
sharing.public_notespermission - Emits WebSocket event
note-eventsto roomnote:{id}after successful update
⌘I