curl -X GET "https://your-domain.com/api/notes/note_abc123" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary\n\nDiscussed project roadmap and timeline..."
}
},
"folder_id": "folder_xyz",
"access_grants": [
{
"grantee_type": "group",
"grantee_id": "group_456",
"permission": "read"
}
],
"write_access": true,
"updated_at": 1709395200,
"created_at": 1709308800
}
Notes & Folders
Get Note
GET
/
api
/
notes
/
{id}
curl -X GET "https://your-domain.com/api/notes/note_abc123" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary\n\nDiscussed project roadmap and timeline..."
}
},
"folder_id": "folder_xyz",
"access_grants": [
{
"grantee_type": "group",
"grantee_id": "group_456",
"permission": "read"
}
],
"write_access": true,
"updated_at": 1709395200,
"created_at": 1709308800
}
Retrieve a specific note by ID.
Authorization
Requires user permissionfeatures.notes or admin role.
Path Parameters
Unique identifier of the note
Response
Returns the note object with full content and write access indicator.Unique identifier for the note
ID of the note owner
Title of the note
ID of the folder containing the note
Access control grants for the note
Indicates if the current user has write access to the note
Unix timestamp of last update
Unix timestamp of creation
curl -X GET "https://your-domain.com/api/notes/note_abc123" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id": "note_abc123",
"user_id": "user_123",
"title": "Meeting Notes",
"data": {
"content": {
"md": "# Meeting Summary\n\nDiscussed project roadmap and timeline..."
}
},
"folder_id": "folder_xyz",
"access_grants": [
{
"grantee_type": "group",
"grantee_id": "group_456",
"permission": "read"
}
],
"write_access": true,
"updated_at": 1709395200,
"created_at": 1709308800
}
Access Control
- Users must have
features.notespermission enabled - Returns notes where user is the owner OR has read access via access grants
write_accessis true if:- User is admin
- User is the note owner
- User has write permission via access grants
- Note has public read access
- Admin users can access all notes
- Non-admin users need explicit read permission
⌘I