401 Unauthorized
{
"code": "invalid_credentials",
"message": "Invalid Credentials, try again."
}The WorkFlowy API lets you read and change your outline from your own
scripts and integrations. It's a JSON API served from
https://workflowy.com/api/v1.
To make your first request, create an API key on the
API key page and send it in the Authorization header, as
described in Authentication. Then call an
endpoint, for example List nodes, to see the
nodes at the top level of your outline.
Request bodies are JSON, so send them with a
Content-Type: application/json header. Responses are JSON too.
GET /api/v1/nodes
curl https://workflowy.com/api/v1/nodes \ -H "Authorization: Bearer <YOUR_API_KEY>" | jq
The API authenticates requests with an API key. Create one on the API key page while signed in to WorkFlowy. Each account has one key, and requests made with it act as your account.
Send the key as a bearer token in the Authorization header:
Authorization: Bearer <YOUR_API_KEY>
A request without a valid key gets a 401 response.
GET /api/v1/nodes
curl https://workflowy.com/api/v1/nodes \ -H "Authorization: Bearer <YOUR_API_KEY>" | jq
{
"code": "invalid_credentials",
"message": "Invalid Credentials, try again."
}Each endpoint limits how many requests your account can make to it in a 60-second window. Every request made with your API key counts against the endpoint's limit, and its response carries headers that show where you stand:
X-RateLimit-Limit: requests allowed in a window on this endpoint.X-RateLimit-Remaining: requests left in the current window.X-RateLimit-Used: requests made in the current window, this one included.X-RateLimit-Reset: when the current window ends and the count starts
again, as a Unix timestamp in seconds.X-RateLimit-Resource: the name of the limit this request counted
against. Each endpoint has its own.GET /api/v1/nodes
curl -i https://workflowy.com/api/v1/nodes \ -H "Authorization: Bearer <YOUR_API_KEY>"
HTTP/1.1 200 OK X-RateLimit-Limit: 300 X-RateLimit-Remaining: 299 X-RateLimit-Used: 1 X-RateLimit-Reset: 1795098580 X-RateLimit-Resource: list_nodes_v1
Want an AI tool like Claude Code, Codex, Cursor, or VS Code to work with your outline? You can connect it to the MCP server built into the WorkFlowy desktop app. It lets AI tools on your computer read, search, and update your WorkFlowy, and it uses your signed-in account, so no API key is needed. To connect an AI tool, open the WorkFlowy desktop app, go to Settings, enable Local MCP. Full guide: Workflowy Desktop MCP.
A node is the fundamental unit of content in WorkFlowy. Each node represents a single bullet point that can contain text, have child nodes, and be organized hierarchically. Nodes can be expanded or collapsed, completed, tagged, and moved around to create flexible outlines and lists.
| POST | /api/v1/nodes |
| POST | /api/v1/nodes/:id |
| GET | /api/v1/nodes/:id |
| GET | /api/v1/nodes |
| DELETE | /api/v1/nodes/:id |
| POST | /api/v1/nodes/:id/move |
| POST | /api/v1/nodes/:id/mirror |
| DELETE | /api/v1/nodes/:id/mirror |
| POST | /api/v1/nodes/:id/complete |
| POST | /api/v1/nodes/:id/uncomplete |
| GET | /api/v1/nodes-export |
id string
Unique identifier of the node.
parent_id string | null
Unique identifier of the parent node. null for top-level nodes.
name string
The text content of the node. This is the main bullet text that appears in your outline. Supports the following inline HTML tags:
<b>text</b>
Bold
<i>text</i>
Italic
<s>text</s>
Strikethrough
<code>text</code>
Inline code
<a href="url">text</a>
Hyperlink
data.layoutMode string
Display mode of the node.
"bullets"
Bullet point (default)
"todo"
Todo item. Completion state is tracked by completedAt
"h1"
Level 1 header
"h2"
Level 2 header
"h3"
Level 3 header
"code-block"
Code block
"quote-block"
Quote block
data.mirror.origin_id string | null
Present when the node is a mirror. Identifies the mirror's origin — the node whose content
the mirror reflects. If the origin isn't accessible, origin_id is null and the response falls
back to the mirror node row.
data.mirror.mirror_ids array
Present when the node is a mirror origin. Lists the IDs of mirror roots that point to this origin.
note string | null
Additional note content for the node. Notes appear below the main text and can contain extended descriptions or details.
priority number
Sort order of the node among its siblings. Lower values appear first.
completed boolean
Whether the node is completed. The completion timestamp is available in completedAt.
createdAt number
Unix timestamp indicating when the node was created.
modifiedAt number
Unix timestamp indicating when the node was last modified.
completedAt number | null
Unix timestamp indicating when the node was completed. null if the node is not completed.
{
"id": "6ed4b9ca-256c-bf2e-bd70-d8754237b505",
"parent_id": "5b401959-4740-4e1a-905a-62a961daa8c9",
"name": "This is a test outline for API examples",
"note": null,
"priority": 200,
"completed": false,
"data": {
"layoutMode": "bullets"
},
"createdAt": 1753120779,
"modifiedAt": 1753120850,
"completedAt": null
}parent_id string
Where to create the new node. Calendar nodes are created on demand if they don't exist yet. If
parent_id identifies a mirror root, the new node is created under that mirror's origin so it is
visible under every mirror of the origin.
"6ed4b9ca-256c-bf2e-bd70-d8754237b505"
the id of any node you own
"d8754237b505"
the 12-character short id from a WorkFlowy URL for any node you own.
"https://workflowy.com/#/d8754237b505"
the URL of any node you own.
"rd"
a shortcut key you've defined to point at a node
"None"
the top level of your outline (root)
"inbox"
your Inbox node, the built-in destination for quickly captured items at the top of your outline
"calendar"
the root of your calendar
"today"
the calendar node for today's date
"tomorrow"
the calendar node for tomorrow's date
"next_week"
the calendar node for the first day of next week, based on your week-start-day setting
"YYYY" (e.g. "2026")
a year node in the calendar
"YYYY-MM" (e.g. "2026-01")
a month node in the calendar
"YYYY-MM-DD" (e.g. "2026-01-15")
a day node in the calendar
name string required
The text content of the new node.
Multiline text — when the name field contains multiple lines, the first line becomes the parent node and subsequent lines become child nodes. A single \n is joined into a space; use \n\n (double newline) to create separate children.
Inline styles — markdown is parsed into HTML tags:
| Markdown | HTML | Result |
|---|---|---|
**text** |
<b>text</b> |
bold |
*text* |
<i>text</i> |
italic |
~~text~~ |
<s>text</s> |
|
`text` |
<code>text</code> |
inline code |
[text](url) |
<a href="url">text</a> |
hyperlink |
[YYYY-MM-DD] |
— | date |
[YYYY-MM-DD HH:MM] |
— | date with time (24-hour, user's timezone) |
Node layout — markdown prefix sets the node's layoutMode:
| Markdown | layoutMode | Result |
|---|---|---|
# text |
"h1" |