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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
{
"detail": "An error occurred"
}
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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
{
"detail": "An error occurred"
}
Update an existing note by ID.
Authorization
Requires user permissionfeatures.notes or admin role, plus write access to the note.
Path Parameters
string
required
Unique identifier of the note to update
Request Body
string
Updated title of the note
string
ID of the folder to move the note to
array
Response
Returns the updated note object.string
required
Unique identifier for the note
string
required
ID of the note owner
string
required
Updated title of the note
object
Updated note content data
string
ID of the folder containing the note
array
Updated access control grants for the note
integer
required
Unix timestamp of last update
integer
required
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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
{
"detail": "An error occurred"
}
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