Overview
The Cleve REST API lets you read and write notes and folders programmatically. Base URL:https://app.cleve.ai/api/v1
Authentication
All requests require a personal API key passed as a Bearer token:Getting an API Key
- Open Cleve and go to Settings → Developer
- Click Manage next to API keys
- Create a new key in your Clerk user profile
Notes
List Notes
| Parameter | Type | Description |
|---|---|---|
folderId | string | Filter to a specific folder |
pinnedOnly | boolean | Return only pinned notes |
Create a Note
| Field | Type | Description |
|---|---|---|
title | string | Note title |
content | string | Note body (markdown) |
folderId | string | Folder to place the note in |
isPinned | boolean | Whether to pin the note |
Get a Note
Update a Note
| Field | Type | Description |
|---|---|---|
title | string | New title |
content | string | New body (markdown) |
isPinned | boolean | Pin or unpin |
isPublic | boolean | Enable or disable link sharing |
folderId | string | null | Move to folder, or null to unfile |
Delete a Note
List Recent Notes
| Parameter | Type | Default | Max |
|---|---|---|---|
limit | number | 10 | 50 |
Search Notes
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | ✅ | Search term |
limit | number | Max results to return | |
folderId | string | Scope to a folder | |
isPinned | boolean | Filter to pinned notes only (true or false) |
Count Notes
| Parameter | Type | Description |
|---|---|---|
folderId | string | Scope to a folder |
Folders
List Folders
Create a Folder
| Field | Type | Required | Description |
|---|---|---|---|
name | string | ✅ | Folder name |
parentId | string | Parent folder ID for nesting |
Rename a Folder
| Field | Type | Required | Description |
|---|---|---|---|
name | string | ✅ | New folder name |
Delete a Folder
Error Responses
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
404 | Note or folder not found |
400 | Missing required field |
500 | Internal server error |
Related
MCP Server
Connect AI agents to Cleve via the Model Context Protocol.
Pricing
API access is available on all plans.