# Add changelog

Add a changelog entry to a live item. It is published at once, like in Workspace. To publish a changelog together with a new package, send it with the [upload](https://sellmycode.net/api-docs/upload.md) instead — it then appears when that version goes live.

`POST /api/items/{id}/changelogs`

| Parameter | Type | Description |
|---|---|---|
| `version` *required* | string | e.g. 2.4.1 — one entry per version (409 `changelog_exists`) |
| `body` *required* | string | Plain text, shown as written |
```bash
curl -X POST https://sellmycode.net/api/items/123/changelogs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"version":"2.4.1","body":"Fixed checkout on PHP 8.4"}'
```
```json
{
  "status": "success",
  "changelog": { "id": 5521, "version": "2.4.1", "created_at": "2026-10-24T08:00:00Z" }
}
```

---
Source: https://sellmycode.net/api-docs/add-changelog
