# Create a draft help article (https://notert.io/docs/api/reference/create-a-draft-help-article)

`POST /api/v1/help-articles`

Starts a draft at the top of the help center, or in a collection. It is signed by the token's holder and never published until a call publishes it. Where the draft is stored but can't be read back for the answer, the answer holds its id alone, and a get reads the rest.

Access: A token with help:write.

## Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `Idempotency-Key` | string | No | A key of your own for this call, such as a UUID, sent again with a call made again after its answer was lost, so it stores and sends once and answers what the first stored. The same key with other words names another record. Send it or an id in the body, not both. At least 1 character. At most 255 characters. |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | uuid | No | An id of your own, a UUID, so a call sent again after its answer was lost answers the same draft. Or send an Idempotency-Key header instead, not both. |
| `title` | string | Yes | The article's title. At least 1 character. At most 160 characters. |
| `description` | string | No | The line under its title. At most 240 characters. |
| `body` | string | No | What the article says, in Markdown: headings, lists, links and code. At most 50000 characters. |
| `collectionId` | string | No | The collection to start it in. Without one it starts at the top level. At most 64 characters. |

## Response 201

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The article's id. |
| `title` | string | The article's title. |
| `description` | string | The line under its title. |
| `status` | string | Whether it is a draft or published. One of: `draft`, `published`. |
| `visibility` | string | Who can find it: everyone (public), only those with its link (unlisted), or only the team (team). One of: `public`, `unlisted`, `team`. |
| `collectionId` | string or null | The collection it sits in, or null at the top level or placed nowhere. |
| `topLevel` | boolean | Whether it sits at the top of the help center, outside every collection. |
| `slug` | string or null | The part of its address that names it, taken from its title when it is first published. Null until then. |
| `url` | string or null | Its page on the board, or null while the board has no address. |
| `publishedAt` | date-time or null | When it was last published, or null for a draft. |
| `updatedAt` | date-time | When it last changed. |
| `body` | string | What the article says, in Markdown: headings, lists, links and code. |
| `version` | string | Its version as read now, which a change sends back, so a change made since is refused rather than written over. One article's answers carry it; a page's don't. |
| `unpublishedChanges` | object or null | The title, description and body a published article holds that its readers don't see until it is published again, which a change replaces. Null for a draft, and for a published article with nothing new to publish. |
| `unpublishedChanges.title` | string | The article's title. |
| `unpublishedChanges.description` | string | The line under its title. |
| `unpublishedChanges.body` | string | What the article says, in Markdown: headings, lists, links and code. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 400 | `FOREIGN_PICTURES` | The text shows a picture that isn't stored for this workspace. |
| 400 | `IDEMPOTENCY_KEY_REFUSED` | Send an Idempotency-Key of 1 to 255 visible characters, or an id of your own in the body, not both. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't draft and change help articles. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `NO_SEAT` | This workspace's plan has no seat for you. |
| 403 | `WORKSPACE_SUSPENDED` | This workspace is suspended. |
| 404 | `NOT_FOUND` | Not Found. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 409 | `ID_TAKEN` | Another article has this id. Start it under a new one. |
| 409 | `LIMIT_REACHED` | The help center holds as many articles as a workspace may. Its data holds `limit`. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X POST 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**.",
  "collectionId": "c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02"
}'
```

## Example response 201

```json
{
  "id": "4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e",
  "title": "Export your requests",
  "description": "Download them as a CSV file",
  "status": "draft",
  "visibility": "public",
  "collectionId": "c3a8e5f1-2b7d-4c9a-8e6f-1a3b5c7d9e02",
  "topLevel": false,
  "slug": null,
  "url": "https://feedback.example.com/help/articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e",
  "publishedAt": null,
  "updatedAt": "2026-11-10T14:05:00.000Z",
  "body": "Open **Requests**, then press **Export**.",
  "version": "2026-11-10 14:05:00.123456",
  "unpublishedChanges": null
}
```
