- API reference
- Guides
Write help articles with the API
Draft, change, publish and place your help center's articles, set who finds them, and read how readers rated them from your own code with an API token.
Last updated Tuesday, December 1st, 2026
View as MarkdownOn this page
A token can keep your help center in step with docs you write elsewhere: it drafts articles, changes them and, if you let it, publishes them. Every call is made as the teammate who holds the token, and what it writes shows the token's name in the article's editor. Calls are authenticated and paced as reading your workspace describes.
Let a token write
A token writes help articles only with the permissions you pick for it as you create it, under Permissions, in the Help center area:
help:writecreates and changes articles, but never publishes them.help:managepublishes them, so your readers see them at once.
Give it help:read too to read articles back with GET /help-articles/{id}. A token keeps its permissions for as long as it exists. For others, create another token. What a token writes is signed by whoever created it, or last rolled it. While that teammate is off the team or is missing the second factor your workspace asks for, the token can't write, though it still reads. Roll it to make it yours. While that teammate has no seat on your plan, the token can change an article but can't start or publish one, as that teammate couldn't in Notert.
| Endpoint | Permission | Does |
|---|---|---|
POST /help-articles | help:write | Starts a draft |
PATCH /help-articles/{id} | help:write | Changes an article's title, line or text |
POST /help-articles/{id}/publish | help:manage | Puts an article, or its changes, on the board |
POST /help-articles/{id}/unpublish | help:manage | Takes an article off the board, back to a draft |
POST /help-articles/{id}/move | help:write | Moves an article to the top level or into a collection |
PUT /help-articles/{id}/keywords | help:write | Sets the words searches find an article by |
PUT /help-articles/{id}/slug | help:write | Sets the end of an article's address |
PUT /help-articles/{id}/visibility | help:manage | Sets who can find an article |
DELETE /help-articles/{id} | help:manage | Moves an article to the trash |
POST /help-collections | help:write | Adds a collection |
PATCH /help-collections/{id} | help:write | Changes a collection's name, line, icon or address |
GET /help-articles/feedback | help:read | Ranks articles by how readers rated them |
Start a draft
POST /help-articles starts a draft at the top of your help center, or in a collection by its collectionId from GET /help-collections. Only title is needed. body is Markdown: headings, lists, links and code, with no pictures.
curl https://app.notert.io/api/v1/help-articles \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": "4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e",
"title": "Export your requests",
"description": "Download them as a CSV file",
"body": "Open **Requests**, then press **Export**."
}'It answers 201 with the article as GET /help-articles/{id} does:
{
"id": "4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e",
"title": "Export your requests",
"description": "Download them as a CSV file",
"status": "draft",
"visibility": "public",
"collectionId": null,
"topLevel": true,
"slug": null,
"url": null,
"publishedAt": null,
"updatedAt": "2026-11-22T09:40:18.664Z",
"body": "Open **Requests**, then press **Export**.",
"version": "2026-11-22 09:40:18.664507+00",
"unpublishedChanges": null
}A new article is public, so once it's published it's listed on your board; your team can make it unlisted or for the team alone in Notert. Send an id of your own, a UUID, or an Idempotency-Key header, so a call you retry after a lost answer gives back the same draft rather than a second one.
Rarely, the draft is stored but can't be read back for the answer. The call still answers 201, with the draft's id alone: the draft is there, and GET /help-articles/{id} reads the rest.
Change an article
PATCH /help-articles/{id} replaces the title, description or body you send and keeps the rest. Send the version the article answered when you read it too, so a change made since isn't written over. A draft changes as it is. A published article's change is kept aside: your readers keep reading what was published, and the answer's unpublishedChanges holds the title, description and body waiting, until you publish it. A field you send replaces the one waiting there, so read the article first: GET /help-articles/{id} answers the same unpublishedChanges, a teammate's unpublished edits in the app included, and null when nothing waits.
If the article changed since you read it, a teammate's edit included, the call answers 409 EDITED_MEANWHILE. Read it again and send your change once more, with the new version.
Rarely, the change is written but the article can't be read back for the answer. The call still answers 200, with the article's id alone: the change is there, and GET /help-articles/{id} reads the article and its new version.
Publish an article
curl -X POST https://app.notert.io/api/v1/help-articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e/publish \
-H "Authorization: Bearer $NOTERT_API_TOKEN"POST /help-articles/{id}/publish puts a draft on your board, or a published article's changes in place of what readers read, for whoever its visibility lets find it. The answer's url is its page on the board. An article with nothing new to publish is answered as it stands.
Send the version the article answered when you read it, as JSON in the body, to publish only what you read: an article changed since, by a teammate in Notert as by another call, answers 409 EDITED_MEANWHILE and publishes nothing.
Rarely, the article is published but can't be read back for the answer. The call still answers 200, with the article's id alone: it is on your board, and GET /help-articles/{id} reads the rest.
Place an article
POST /help-articles/{id}/move takes place, top for the top level or collection with a collectionId, and, to place it after another article there, that article's id as afterId. Leave afterId out to put it first. POST /help-collections adds a collection with a name, an optional description, and an id of your own so a retry adds one. The same id sent with another name, description or icon is refused with 409 ALREADY_ADDED. PATCH /help-collections/{id} changes a collection's name, description, icon or slug, the end of its address on the board, as the Edit collection dialog does. What you leave out stays, and readers see the change at once. A new address keeps the old one working and sends readers on to it, and one another collection holds is refused with 409 SLUG_TAKEN. Rarely, the change is written but the collection can't be read back for the answer, and the answer holds its id alone: the change is there, and GET /help-collections reads the rest.
curl https://app.notert.io/api/v1/help-articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e/move \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "place": "collection", "collectionId": "1b2c3d4e-5f6a-4b7c-9d8e-0f1a2b3c4d5e" }'Example: keep your docs in step
Brightline keeps a few articles as Markdown files in its own repository. A script run on each merge writes each one to Notert, as a draft the first time and as waiting changes after, and publishes it, with a token holding help:read, help:write and help:manage:
const API = "https://app.notert.io/api/v1";
const headers = {
Authorization: `Bearer ${process.env.NOTERT_API_TOKEN}`,
"Content-Type": "application/json",
};
// `id` is a UUID you keep beside each file, such as in its front matter.
export async function syncArticle({ id, title, description, body }) {
const read = await fetch(`${API}/help-articles/${id}`, { headers });
if (read.status === 404) {
const created = await fetch(`${API}/help-articles`, {
method: "POST",
headers,
body: JSON.stringify({ id, title, description, body }),
});
if (!created.ok) throw new Error(`Create failed: ${created.status}`);
} else {
const { version } = await read.json();
const changed = await fetch(`${API}/help-articles/${id}`, {
method: "PATCH",
headers,
body: JSON.stringify({ version, title, description, body }),
});
// A teammate edited it meanwhile: leave theirs, and look at it in Notert.
if (changed.status === 409) return "edited in Notert";
if (!changed.ok) throw new Error(`Change failed: ${changed.status}`);
}
const published = await fetch(`${API}/help-articles/${id}/publish`, { method: "POST", headers });
if (!published.ok) throw new Error(`Publish failed: ${published.status}`);
return (await published.json()).url;
}An article your team moved to the trash answers 404 to every call, creating it again under its id included, so the script stops at that file with Create failed: 404: restore the article from the trash in Notert, or give the file a new id.
Set who finds it
PUT /help-articles/{id}/visibility takes visibility: public, listed on the board; unlisted, opened by its link alone; or team, seen only by your team in Notert. It needs help:manage, since a published article made public or unlisted is before its readers at once, and one made the team's leaves them. PUT /help-articles/{id}/keywords replaces the keywords, up to 20, that readers' searches find the article by beside its title and text. PUT /help-articles/{id}/slug sets the end of its address on the board: its old address keeps working and sends readers on to the new one, and one another article holds is refused with 409 SLUG_TAKEN. Each works as the editor's settings panel does, and sending it again changes nothing.
Read how readers rated them
GET /help-articles/feedback ranks your articles by how readers answered "Did this answer your question?" under them, over a period of 7d, 30d (the default), 90d or all. sort puts the least helpful first (lowest, the default), the most helpful (highest) or the most answered (most). Each article comes with how many answers it had, each answer's share in shares (yes, partly and no) and how many left a note in notes, never who answered or what they wrote. An article no reader answered under isn't listed. Page on with nextCursor.
Move an article to the trash
DELETE /help-articles/{id} moves an article to the trash, as Move to trash in its editor does: it leaves your help center, the board and every read at once. Your team can restore it as it was from Settings > Help center > Trash for 30 days, after which it is deleted for good. It answers the article's id, and sending it again, like any call for an article in the trash, answers NOT_FOUND.
Errors
On top of the API's errors, a write can answer:
| Status | code | Means |
|---|---|---|
| 400 | TITLE_REQUIRED | A published article, or one being published, would have no title |
| 400 | FOREIGN_PICTURES | The body shows a picture that isn't stored for your workspace |
| 403 | INSUFFICIENT_SCOPE | The token's access doesn't include this call |
| 403 | HOLDER_NOT_ALLOWED | The teammate who holds the token can't write now. Roll it to make it yours |
| 403 | NO_SEAT | The teammate who holds the token has no seat on your plan |
| 403 | WORKSPACE_SUSPENDED | The workspace is suspended |
| 404 | NOT_FOUND | No such article in the workspace, or it's in the trash |
| 409 | EDITED_MEANWHILE | A teammate changed the article meanwhile. Read it again and retry |
| 409 | SLUG_TAKEN | Another article or collection already has that address |
| 409 | LIMIT_REACHED | The help center holds as many articles as a workspace may |
| 409 | CHANGED_MEANWHILE | Another write reached the same rows at the same moment. Try again |