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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
Retrieve a specific note by ID.
Authorization
Requires user permissionfeatures.notes or admin role.
Path Parameters
string
required
Unique identifier of the note
Response
Returns the note object with full content and write access indicator.string
required
Unique identifier for the note
string
required
ID of the note owner
string
required
Title of the note
string
ID of the folder containing the note
array
Access control grants for the note
boolean
required
Indicates if the current user has write access to the note
integer
required
Unix timestamp of last update
integer
required
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
}
{
"detail": "Unauthorized"
}
{
"detail": "An error occurred"
}
{
"detail": "Not Found"
}
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