body: '{"path":"Daily/2026-06-20.md","text":"\n- [ ] Ship the API docs coverage gate\n"}'
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
curl--requestPOST\
--urlhttps://api.engram.page/notes/append\
--header'Authorization: Bearer <token>'\
--header'Content-Type: application/json'\
--data'{ "path": "Daily/2026-06-20.md", "text": "\n- [ ] Ship the API docs coverage gate\n" }'
Appends text to the note at path, returning created: false. If the note does not exist it is created with a heading derived from the filename plus the text, returning created: true.