API
A small REST API for the notebooks you allow. Requests are relayed to your approved device, decrypted there, and returned over an encrypted channel.
Base URL
https://api.vellum.app/v1API keys
Create a key in Settings → Connections → API keys. Each key has its own notebook access and can be revoked on its own. Free includes one key, Pro includes ten.
Authentication
Send the key as a bearer token on every request.
$ curl https://api.vellum.app/v1/notebooks \ -H "Authorization: Bearer $VELLUM_API_KEY"Rate limits
| Plan | Requests per day | Burst |
|---|---|---|
| Free | 100 | 10 per minute |
| Pro | 10,000 | 120 per minute |
Every response includes X-RateLimit-Remaining and X-RateLimit-Reset. Over the limit, you get 429 with a retry_after in seconds.
Responses and errors
Responses are JSON. Lists are wrapped in data with a next_cursor for paging. Errors share one shape:
{ "error": { "code": "notebook_not_allowed", "message": "This key can't read the notebook Journal." }}503 device_offline.Notebooks
GET/notebooks
Notebooks this key can see.
{ "data": [ { "id": "nb_8f2k", "name": "Work", "access": "write", "notes": 214 }, { "id": "nb_3m9a", "name": "Recipes", "access": "read", "notes": 58 } ], "next_cursor": null}Notes
GET/notes
List notes, newest first.
| Parameter | Description |
|---|---|
| notebook | Notebook id. Optional. |
| limit | 1 to 100. Defaults to 20. |
| cursor | From a previous next_cursor. |
GET/notes/{id}
One note, with its Markdown body and backlinks.
{ "id": "nt_q7c1", "notebook": "nb_8f2k", "title": "Hiring loop", "body": "# Hiring loop\n\nFour interviews, one take-home...", "backlinks": ["nt_x2p0"], "version": 12, "updated_at": "2026-11-30T09:14:02Z"}POST/notes
Create a note. Needs write access to the notebook.
$ curl https://api.vellum.app/v1/notes \ -H "Authorization: Bearer $VELLUM_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "notebook": "nb_8f2k", "title": "Retro", "body": "## Went well\n" }'PATCH/notes/{id}
Update a note's title or body.
| Field | Description |
|---|---|
| title | New title. Optional. |
| body | New Markdown body. Optional. |
| append | Markdown to add to the end, instead of body. |
| version | Required. The version you edited, to prevent overwrites. |
DELETE/notes/{id}
Move a note to Trash. Recoverable in the app for 30 days.
Search
GET/search?q={query}
Full-text search across allowed notebooks.
{ "data": [ { "id": "nt_q7c1", "title": "Hiring loop", "snippet": "...decision within a <b>week</b>." } ], "next_cursor": null}