# Create a changelog draft

```http
POST https://trydimmi.com/api/v1/help-centers/{help_center}/changelog-entries
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `changelog:write`.

## Path parameters

- `help_center` (string, required): Id of the help center, starting with hc_, such as hc_01jx2m8k4t. Find it with GET /help-centers.

## Body

- `author_ids` (string[]): Ids of teammates (mem_...) shown as authors, at most 5. Leave out to show whoever edits it.
- `body_markdown` (string): The entry in Markdown, at most 256 KB.
- `cover_url` (string): An image address from this help center, such as one already used in an article; other addresses are refused.
- `label_ids` (string[]): Ids of labels (cll_...), at most 20, from GET /help-centers/{help_center}/changelog-labels.
- `slug` (string): The part of the address that names it, in lowercase words joined by hyphens, such as refund-policy.
- `summary` (string): A short line for lists and mails, at most 300 characters.
- `title` (string): The title of the changelog entry, at most 150 characters.

## Response 201 (Created)

- `data` (object, required)
  - `authors` (object[] | null, required): The teammates shown as the entry's authors, each with member id, name and avatar. While nobody has chosen authors, these are the editors.
    - `avatar_url` (string | null, required): URL of the teammate's avatar image. Null when they have none.
    - `member_id` (string, required): Id of the teammate, starting with mem_. Send it wherever a member is asked for.
    - `name` (string, required): The teammate's display name.
  - `authors_chosen` (boolean, required): True when someone picked the entry's authors by hand; false while the people who edited it stand as its authors.
  - `body_markdown` (string): The working copy of the entry's body, in Markdown. Present when one entry is read; left out of lists.
  - `cover_url` (string | null, required): URL of the entry's cover image. Null when it has none.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `editors` (object[] | null, required): The teammates who edited the entry, each with member id, name and avatar.
    - `avatar_url` (string | null, required): URL of the teammate's avatar image. Null when they have none.
    - `member_id` (string, required): Id of the teammate, starting with mem_. Send it wherever a member is asked for.
    - `name` (string, required): The teammate's display name.
  - `has_unpublished_changes` (boolean, required): True when a published entry's working copy differs from what readers see, so it needs publishing again. Always false for drafts and scheduled entries.
  - `help_center_id` (string, required): Id of the help center whose changelog holds this entry, starting with hc_. Send it wherever a help center is asked for.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `labels` (object[] | null, required): The labels the entry is filed under, each with id, name, slug and color.
    - `color` (string, required): The label's color as a six-digit hex code, such as #3b82f6.
    - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
    - `name` (string, required): The label's name, such as Improvement.
    - `slug` (string, required): The label's URL name, such as bug-fixes.
  - `lock_version` (integer, required): A number that goes up with every save, starting at 1. Send the value you read back when updating so a newer edit is not overwritten.
  - `notified_at` (string | null, required): When subscribers were mailed about this entry; an entry mails only once. Null when no mailing has gone out.
  - `notify_subscribers` (boolean, required): True when subscribers are to be mailed when the entry is published.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `published_at` (string | null, required): When the entry was published. Null while it has never been published.
  - `scheduled_for` (string | null, required): When a scheduled entry will publish itself. Null when no publish time is set.
  - `slug` (string, required): The entry's URL name within the changelog, such as dark-mode-is-here.
  - `status` (string, required): Where the entry stands: draft, scheduled or published.
  - `summary` (string | null, required): A short summary of the entry. Null when none was written.
  - `title` (string, required): The entry's title.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/help-centers/{help_center}/changelog-entries' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "author_ids": [
    "<string>"
  ],
  "body_markdown": "<string>",
  "cover_url": "<string>",
  "label_ids": [
    "<string>"
  ],
  "slug": "<string>",
  "summary": "<string>",
  "title": "<string>"
}'
```

## Example response

```json
{
  "data": {
    "authors": [
      {
        "avatar_url": "<string>",
        "member_id": "<string>",
        "name": "<string>"
      }
    ],
    "authors_chosen": true,
    "body_markdown": "<string>",
    "cover_url": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "editors": [
      {
        "avatar_url": "<string>",
        "member_id": "<string>",
        "name": "<string>"
      }
    ],
    "has_unpublished_changes": true,
    "help_center_id": "<string>",
    "id": "<string>",
    "labels": [
      {
        "color": "<string>",
        "id": "<string>",
        "name": "<string>",
        "slug": "<string>"
      }
    ],
    "lock_version": 123,
    "notified_at": "2026-11-01T09:30:00Z",
    "notify_subscribers": true,
    "object": "<string>",
    "published_at": "2026-11-01T09:30:00Z",
    "scheduled_for": "2026-11-01T09:30:00Z",
    "slug": "<string>",
    "status": "<string>",
    "summary": "<string>",
    "title": "<string>",
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
