Create note
Add a bullet or a tree of bullets under a document or bullet.
POST https://cotlet.dev/api/v1/remnote/parents/{parent_id}/notes
write
Adds bullets under a parent document or bullet. Pass markdown with leading dashes for bullets and equal indentation for nesting; RemNote reads both. Set as_document to true to make the top bullet its own document. It writes into your own knowledge base and reaches no one, so it does not ask first; shared knowledge bases are the exception, where others see the new bullets.
Parameters
| Name | Type | Description |
|---|---|---|
| parent_id string required | string | Document or bullet to add under. |
| markdown string required | string | Bullets with leading dashes; indent to nest. |
| as_document boolean | boolean | Make the top bullet a document. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/remnote/parents/parent_8c41d2/notes \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"markdown":"markdown"}' result = client.call("remnote", "create_note", {"parent_id":"parent_8c41d2","markdown":"markdown"}) const result = await cotlet.call('remnote', 'create_note', {"parent_id":"parent_8c41d2","markdown":"markdown"}); cotlet call remnote create_note --data '{"parent_id":"parent_8c41d2","markdown":"markdown"}' Example response
{
"document_id": "rem_91ab02",
"parent_id": "rem_aa10",
"bullets_added": 3,
"is_document": false
}