Skip to content

notes

10 endpoints at a glance
MethodPathSummary
GET/notesList Notes
POST/notesCreate Note
DELETE/notes/{note_id}Delete Note
GET/notes/{note_id}Get Note
PATCH/notes/{note_id}Update Note
POST/notes/{note_id}/linksAdd Link
DELETE/notes/{note_id}/purgePurge Note
POST/notes/{note_id}/restoreRestore Note
GET/notes/for-entityList For Entity
GET/notes/trashList Trash

notes


List Notes

GET
/notes

Notes in a notebook (defaults to Inbox), pinned first.

Parameters

Header Parameters

authorization

Query Parameters

notebook_id

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Create Note

POST
/notes

Parameters

Header Parameters

authorization

Request Body

application/json
JSON
{
  
"notebook_id": "string",
  
"title": "",
  
"body_md": "",
  
"tag_ids": [
  
  
"string"
  
],
  
"link_to": {
  
  
"additionalProperties": "string"
  
}
}

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Body

Samples


List Trash

GET
/notes/trash

Parameters

Header Parameters

authorization

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers

Samples


List For Entity

GET
/notes/for-entity

Notes linked to one entity (any author the viewer can see).

Parameters

Header Parameters

authorization

Query Parameters

entity_type*
Type
string
Required
entity_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Get Note

GET
/notes/{note_id}

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Delete Note

DELETE
/notes/{note_id}

Soft-delete (trash). Recoverable via POST /notes/{id}/restore.

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Update Note

PATCH
/notes/{note_id}

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Request Body

application/json
JSON
{
  
"title": "string",
  
"body_md": "string",
  
"tag_ids": [
  
  
"string"
  
],
  
"pinned": true,
  
"notebook_id": "string"
}

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value
Body

Samples


Restore Note

POST
/notes/{note_id}/restore

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Purge Note

DELETE
/notes/{note_id}/purge

Permanently delete a trashed note + its links.

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value

Samples


Add Link

POST
/notes/{note_id}/links

Link a note to an entity (the viewer must be able to read both).

Parameters

Header Parameters

authorization

Path Parameters

note_id*
Type
string
Required

Request Body

application/json
JSON
{
  
"type": "string",
  
"id": "string",
  
"ref": {
  
  
"additionalProperties": "string"
  
}
}

Responses

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground

Headers
Variables
Key
Value
Body

Samples


Kancil — one workspace for contacts, work and money.