Skip to content
Hoody.com

Notebooks are the top-level containers in the Notes service. Each notebook groups related notes and files, has its own membership list with role-based permissions, and exposes metadata through the REST endpoints documented below. Use these endpoints to list the notebooks you have access to, fetch a single notebook’s details, create new notebooks, update notebook settings, or permanently delete a notebook you own.

Notebook membership is governed by roles: owner, admin, collaborator, guest, and none. Notebooks where the caller has role none are filtered out of list responses, and write operations (update, delete) are restricted to the owner.

GET /api/v1/notes/notebooks

Returns all notebooks the requesting user is a member of. Notebooks where the user has role none and notebooks with inactive status are excluded from the response.

This endpoint takes no parameters.

Terminal window
curl -X GET 'https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.com/api/v1/notes/notebooks' \
-H 'Authorization: Bearer <token>'

GET /api/v1/notes/notebooks/{notebookId}

Returns the metadata of a single notebook, including its name, description, avatar, status, and the role of the requesting user inside the notebook.

NameInTypeRequiredDescription
notebookIdpathstringYesThe notebook ID
Terminal window
curl -X GET 'https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.com/api/v1/notes/notebooks/nb_64f8a2b1c3d4e5f6a7b8c9d0' \
-H 'Authorization: Bearer <token>'

POST /api/v1/notes/notebooks

Creates a new notebook with the supplied name, description, and avatar. The requesting user becomes the owner of the new notebook.

NameTypeRequiredDescription
namestringYesDisplay name of the notebook
descriptionstring (nullable)NoOptional description shown on the notebook overview; pass null to leave it unset
avatarstring (nullable)NoOptional URL to an avatar image; pass null to leave it unset
Terminal window
curl -X POST 'https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.com/api/v1/notes/notebooks' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Engineering Wiki",
"description": "Shared documentation for the engineering team.",
"avatar": "https://cdn.example.com/avatars/eng-wiki.png"
}'

PATCH /api/v1/notes/notebooks/{notebookId}

Updates the name, description, or avatar of an existing notebook. Only the notebook owner can update these settings.

NameInTypeRequiredDescription
notebookIdpathstringYesThe notebook ID
NameTypeRequiredDescription
namestringYesNew display name for the notebook
descriptionstring (nullable)NoNew description; pass null to clear it
avatarstring (nullable)NoNew avatar URL; pass null to clear it
Terminal window
curl -X PATCH 'https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.com/api/v1/notes/notebooks/nb_64f8a2b1c3d4e5f6a7b8c9d0' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Engineering Wiki (2025)",
"description": "Shared documentation for the engineering team, refreshed.",
"avatar": null
}'

DELETE /api/v1/notes/notebooks/{notebookId}

Permanently deletes a notebook and all of its data. Only the notebook owner can delete a notebook.

NameInTypeRequiredDescription
notebookIdpathstringYesThe notebook ID
Terminal window
curl -X DELETE 'https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.com/api/v1/notes/notebooks/nb_64f8a2b1c3d4e5f6a7b8c9d0' \
-H 'Authorization: Bearer <token>'