API Endpoints
Base URL: https://cync.aicholdings.com
Stickies
GET /api/stickies
List all stickies for the authenticated user.
Query Parameters:
| Param | Type | Description |
|---|---|---|
tags | string | Comma-separated tag filter |
includeDeleted | boolean | Include trashed items |
Response:
{
"data": [
{
"id": "uuid",
"content": "Note content...",
"tags": ["work", "urgent"],
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-02T00:00:00Z"
}
]
}
POST /api/stickies
Create a new sticky.
Body:
{
"content": "New note content",
"tags": ["work"]
}
PATCH /api/stickies/[id]
Update an existing sticky.
Body:
{
"content": "Updated content",
"tags": ["work", "updated"]
}
DELETE /api/stickies/[id]
Soft delete a sticky (moves to trash).
GET /api/stickies/[id]/versions
Get version history for a sticky.
POST /api/stickies/[id]/restore
Restore a sticky from trash.
Links
GET /api/links
List all links.
Query Parameters:
| Param | Type | Description |
|---|---|---|
folder_id | uuid | Filter by folder |
starred | boolean | Filter starred only |
POST /api/links
Create a new link.
Body:
{
"url": "https://example.com",
"title": "Example Site",
"folder_id": "uuid",
"tags": ["reference"]
}
PATCH /api/links/[id]
Update a link.
DELETE /api/links/[id]
Delete a link.
GET /api/links/folders
List all folders.
POST /api/links/folders
Create a new folder.
Fireflies
GET /api/fireflies
List transcripts from Fireflies.
Query Parameters:
| Param | Type | Description |
|---|---|---|
limit | number | Max results (default: 20) |
GET /api/fireflies/[id]
Get a specific transcript.
Chat
POST /api/chat
Send a chat message with AI response.
Body:
{
"messages": [
{ "role": "user", "content": "Hello" }
]
}
Response:
{
"message": {
"role": "assistant",
"content": "Hello! How can I help?"
}
}
Generate (SSE)
GET /api/generate
Start multi-agent summary generation. Returns Server-Sent Events.
Event Format:
{
"agent": "collector",
"status": "active",
"progress": 50,
"message": "Fetching data...",
"data": {}
}
Event Types:
| Status | Description |
|---|---|
queued | Agent waiting |
started | Agent beginning |
active | Agent processing |
complete | Agent finished |
failed | Agent error |
PM (Wrike)
GET /api/pm/tasks
List Wrike tasks.
GET /api/pm/tasks/[id]
Get task details.
POST /api/pm/tasks
Create a new task.
PATCH /api/pm/tasks/[id]
Update a task.
POST /api/pm/tasks/[id]/comments
Add a comment to a task.
News
GET /api/news
List news articles.
POST /api/news
Create news article.
GET /api/news/digest
Get weekly news digest.
Authentication
All endpoints require authentication via Supabase session cookie.
For API access outside the browser, use the MCP endpoint with bearer token:
curl -X POST https://cync.aicholdings.com/api/cync \
-H "Authorization: Bearer <supabase-access-token>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'