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

`PATCH /api/v1/changelog-entries/{id}`

Replaces the title, body, tags or requests you send and keeps the rest, on the version you read. Only a draft changes: a published or scheduled entry is PUBLISHED until it is unpublished. Where the change is written but the entry can't be read back for the answer, the answer holds its id alone, and a get reads the rest.

Access: A token with changelog:write.

## Path parameters

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

## Body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `version` | string | No | The version a read of the entry answered, so a change made since you read it, its tags and requests included, 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 entry's title, naming what shipped. At least 1 character. At most 160 characters. |
| `body` | string | No | What the entry says, in Markdown: headings, lists, links, pictures and code. At most 50000 characters. |
| `tagIds` | string[] | No | The changelog tags it wears now, by their ids, replacing the ones it wore. Empty takes every tag off. |
| `requestIds` | string[] | No | The requests it ships now, by their ids, replacing the ones it shipped. Empty takes every request off. A token held to some boards leaves those on other boards as they are. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The entry's id. |
| `title` | string | The entry's title, naming what shipped. |
| `status` | string | Whether it is a draft, scheduled to go live later, or published and live on the board. One of: `draft`, `scheduled`, `published`. |
| `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, which readers open once it is live, or null while the board has no address. |
| `publishedAt` | date-time or null | When it went live, or goes live for a scheduled entry. Null for a draft. |
| `body` | string | What the entry says, in Markdown: headings, lists, links, pictures and code. |
| `coverUrl` | string or null | Where its cover is stored, the picture drawn above it on the changelog and in its email, or null with none. |
| `version` | string | Its version as read now, which a change or a publish sends back, so a change made since is refused rather than written over or published unseen. One entry's answers carry it; a page's don't. |
| `tagIds` | string[] | The changelog tags it wears, by their ids, in the workspace's order. |
| `requestIds` | string[] | The requests it ships, by their ids, in the order they were added. A request merged since ships as the one it went into. A token held to some boards reads only those on them. |
| `emailsSubscribers` | boolean | Whether its going live emails the workspace's changelog subscribers, which can't be taken back. The customers who voted for or follow the requests it ships are told either way. |
| `subscriberEmail` | string | Why: will_email (its switch is on and subscribers wait for it), switched_off (its switch is off, which a publish's emailSubscribers turns on), nobody_to_email (no subscriber is left to email), changelog_hidden (the board hides its changelog, so going live emails no one), or, once it went live, sending, sent or not_sent (its switch was off, or nobody was left). One of: `will_email`, `switched_off`, `nobody_to_email`, `changelog_hidden`, `sending`, `sent`, `not_sent`. |
| `subscribersToEmail` | integer | How many subscribers its going live emails, or would with its switch on. 0 once it went live. |

## 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` | Give it a title first. |
| 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 changelog entries or their tags. 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. |
| 404 | `REQUEST_GONE` | A request among requestIds isn't in this workspace, or was merged or removed. |
| 404 | `TAG_GONE` | A tag among tagIds isn't one of this workspace's changelog tags. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 409 | `EDITED_MEANWHILE` | It changed since you read it. Read it again, then send your change once more. Its data holds `title`, `body`. |
| 409 | `LIMIT_REACHED` | That is more requests than one entry ships. Its data holds `limit`. |
| 409 | `PUBLISHED` | Only a draft changes. Unpublish the entry first, then change it. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X PATCH https://app.notert.io/api/v1/changelog-entries/6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90 \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "version": "2026-11-10 14:05:00.123456",
  "title": "Dark mode is here",
  "body": "Switch it on under **Settings**, then **Appearance**.",
  "tagIds": [
    "a7c3e1f5-9b2d-4e6a-8c4f-1d3b5e7a9c21"
  ],
  "requestIds": [
    "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40"
  ]
}'
```

## Example response 200

```json
{
  "id": "6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90",
  "title": "Dark mode is here",
  "status": "draft",
  "slug": null,
  "url": "https://feedback.example.com/updates/6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90",
  "publishedAt": null,
  "body": "Switch it on under **Settings**, then **Appearance**.",
  "coverUrl": "https://files.notert.io/text/6d2e9a1c/cover.webp",
  "version": "2026-11-10 14:05:00.123456",
  "tagIds": [
    "a7c3e1f5-9b2d-4e6a-8c4f-1d3b5e7a9c21"
  ],
  "requestIds": [
    "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40"
  ],
  "emailsSubscribers": true,
  "subscriberEmail": "will_email",
  "subscribersToEmail": 120
}
```
