# Set a help article's address (https://notert.io/docs/api/reference/set-a-help-article-s-address)

`PUT /api/v1/help-articles/{id}/slug`

Sets the end of an article's address on the board, as the editor's settings panel does. Its old address keeps working, sending readers on to the new one. One another article holds is SLUG_TAKEN.

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 |
| --- | --- | --- | --- |
| `slug` | string | Yes | Lower-case letters, digits and hyphens, such as export-invoices. At least 1 character. At most 80 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. |
| 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 | `SLUG_TAKEN` | Another article's address already ends that way. Pick another. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X PUT https://app.notert.io/api/v1/help-articles/4b1c6e2a-9d3f-4a5b-8c7e-1f2a3b4c5d6e/slug \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "slug": "export-invoices"
}'
```

## 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
}
```
