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

`POST /api/v1/changelog-entries`

Starts a draft entry, 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 changelog: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 | A short title naming what shipped, which publishing needs. 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. |
| `requestIds` | string[] | No | The requests it ships, by their ids, whose followers and voters hear of it once it goes live. Default []. |

## Response 201

| 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 | `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 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. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 409 | `ID_TAKEN` | Another entry has this id. Start it under a new one. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X POST https://app.notert.io/api/v1/changelog-entries \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90",
  "title": "Dark mode is here",
  "body": "Switch it on under **Settings**, then **Appearance**.",
  "requestIds": [
    "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40"
  ]
}'
```

## Example response 201

```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": [],
  "requestIds": [
    "8f2c4b1e-3a6d-4f0b-9c2e-5d7a1b3c9e40"
  ],
  "emailsSubscribers": true,
  "subscriberEmail": "will_email",
  "subscribersToEmail": 120
}
```
