Skip to content
Hoody.com

Create, retrieve, update, and delete notebooks. A notebook is the top-level container for collaborative notes within a project. Notebooks have members with roles such as owner, admin, collaborator, guest, and none. Only owners can update or delete a notebook.

The notebook object exposes an id, name, optional description and avatar, the calling user’s role inside the notebook, a numeric status, and the maximum allowed file size (maxFileSize).

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.

This endpoint takes no parameters.

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

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

Returns notebook metadata including name, description, avatar, status, and the current user’s role.

NameInTypeRequiredDescription
notebookIdpathstringYesIdentifier of the notebook to retrieve
Terminal window
curl -X GET "https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.icu/api/v1/notes/notebooks/nb_8f3a1c9e2b0d4f7a" \
-H "Authorization: Bearer <token>"

POST /api/v1/notes/notebooks

Creates a new notebook with the given name, description, and avatar. The calling user is assigned the owner role for the new notebook.

FieldTypeRequiredDescription
namestringYesDisplay name of the notebook
descriptionstring | nullNoOptional description of the notebook
avatarstring | nullNoOptional URL or identifier for the notebook avatar

This endpoint takes no path, query, or header parameters.

Terminal window
curl -X POST "https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.icu/api/v1/notes/notebooks" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Product roadmap",
"description": "Quarterly roadmap and planning notes",
"avatar": null
}'

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

Updates notebook name, description, or avatar. Only notebook owners can update.

NameInTypeRequiredDescription
notebookIdpathstringYesIdentifier of the notebook to update
FieldTypeRequiredDescription
namestringYesUpdated display name of the notebook
descriptionstring | nullNoUpdated description of the notebook
avatarstring | nullNoUpdated URL or identifier for the notebook avatar
Terminal window
curl -X PATCH "https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.icu/api/v1/notes/notebooks/nb_8f3a1c9e2b0d4f7a" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"name": "Engineering wiki (v2)",
"description": "Shared engineering notes and runbooks",
"avatar": "https://cdn.hoody.icu/avatars/nb_8f3a1c9e2b0d4f7a.png"
}'

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

Permanently deletes a notebook and all its data. Only notebook owners can delete.

NameInTypeRequiredDescription
notebookIdpathstringYesIdentifier of the notebook to delete
Terminal window
curl -X DELETE "https://{projectId}-{containerId}-notes-1.{server}.containers.hoody.icu/api/v1/notes/notebooks/nb_8f3a1c9e2b0d4f7a" \
-H "Authorization: Bearer <token>"