curl --request PATCH \
--url https://api.caret.so/v1/notes/note_123456789 \
--header 'X-API-Key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Updated Meeting Title",
"visibility": "workspace",
"userWrittenNote": "# Meeting Notes\n\nKey discussion points..."
}'
{
"note": {
"id": "note_123456789",
"workspace_id": "ws_123456789",
"title": "Updated Meeting Title",
"status": "completed",
"permission": "workspace",
"private_note": "# Meeting Notes\n\nKey discussion points...",
"created_at": "2024-01-28T10:00:00Z",
"updated_at": "2024-01-28T14:30:00Z"
}
}
Update details of a specific note
curl --request PATCH \
--url https://api.caret.so/v1/notes/note_123456789 \
--header 'X-API-Key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Updated Meeting Title",
"visibility": "workspace",
"userWrittenNote": "# Meeting Notes\n\nKey discussion points..."
}'
{
"note": {
"id": "note_123456789",
"workspace_id": "ws_123456789",
"title": "Updated Meeting Title",
"status": "completed",
"permission": "workspace",
"private_note": "# Meeting Notes\n\nKey discussion points...",
"created_at": "2024-01-28T10:00:00Z",
"updated_at": "2024-01-28T14:30:00Z"
}
}
workspace, public, only-me, private, sharedNote: private is an alias for only-me, shared is an alias for publiccurl --request PATCH \
--url https://api.caret.so/v1/notes/note_123456789 \
--header 'X-API-Key: <your_api_key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Updated Meeting Title",
"visibility": "workspace",
"userWrittenNote": "# Meeting Notes\n\nKey discussion points..."
}'
{
"note": {
"id": "note_123456789",
"workspace_id": "ws_123456789",
"title": "Updated Meeting Title",
"status": "completed",
"permission": "workspace",
"private_note": "# Meeting Notes\n\nKey discussion points...",
"created_at": "2024-01-28T10:00:00Z",
"updated_at": "2024-01-28T14:30:00Z"
}
}