# Change a help article (https://notert.io/docs/api/reference/change-a-help-article)

`PATCH /api/v1/help-articles/{id}`

Replaces the title, description or body you send and keeps the rest, on the version you read. A published article's change waits for a publish, and a change made since you read it is EDITED_MEANWHILE. Where the change is written but the article 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.

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The article's id. At most 64 characters. |

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `version` | string | No | The version a read of the article answered, so a change made since you read it is refused rather than written over. Without one, only a change made during the call itself is. At least 1 character. At most 64 characters. |
| `title` | string | No | 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. |

## Response 200

| 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 | `TITLE_REQUIRED` | Add a title. Only a draft can go without one. |
| 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 | `EDITED_MEANWHILE` | A teammate changed the article meanwhile. Read it again and send your change once more. Its data holds `title`, `description`, `body`. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X PATCH https://app.notert.io/api/v1/help-articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "version": "2026-11-10 14:05:00.123456",
  "title": "Export your requests",
  "description": "Download them as a CSV file",
  "body": "Open **Requests**, then press **Export**."
}'
```

## Example response 200

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