# Set a changelog draft's cover (https://notert.io/docs/api/reference/set-a-changelog-draft-s-cover)

`PUT /api/v1/changelog-entries/{id}/cover`

Sets a draft's cover, the picture drawn above it on the changelog and in its email, as its editor's cover card does, replacing any it had: a picture fetched from its address and drawn as a WebP within 1920 pixels, or one the workspace already stores for its texts, such as a storedUrl an add of pictures answered, stored again as the cover. Only a draft's cover changes: a published or scheduled entry is PUBLISHED until it is unpublished. A storedUrl the workspace doesn't store is PICTURE_GONE. Answers the entry with its coverUrl.

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 |
| --- | --- | --- | --- |
| `pictureUrl` | uri | No | A public https address of the picture, which the server fetches from the open web. One that can't be fetched, isn't a picture or is too large is PICTURE_REFUSED, and the cover stays. At most 2000 characters. |
| `storedUrl` | uri | No | A picture the workspace already stores for its texts, by the storedUrl an add of pictures answered or the address a body shows it by. Send this or pictureUrl, not both. At most 2000 characters. |

## 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. |
| 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 | `PICTURE_GONE` | That storedUrl isn't a picture the workspace stores for its texts, or it was let go. Send it as a pictureUrl instead. |
| 409 | `CHANGED_MEANWHILE` | Something changed meanwhile. Try again. |
| 409 | `PUBLISHED` | Only a draft changes. Unpublish the entry first, then change it. |
| 422 | `PICTURE_REFUSED` | A picture in pictureUrls couldn't be attached, so nothing was written. data.url names it and data.reason says why. Its data holds `url`, `reason`. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl -X PUT https://app.notert.io/api/v1/changelog-entries/6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90/cover \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "pictureUrl": "https://example.com/shots/dark-mode.png",
  "storedUrl": "https://files.notert.io/text/6d2e9a1c/board.webp"
}'
```

## Example response 200

```json
{
  "id": "6d2e9a1c-4b7f-4c3e-9a5d-2f8b1c6e4a90",
  "title": "Dark mode is here",
  "status": "published",
  "slug": "dark-mode-is-here",
  "url": "https://feedback.example.com/updates/dark-mode-is-here",
  "publishedAt": "2026-11-04T09:30:00.000Z",
  "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
}
```
