Manage Changelog Posts via API

Create, update, and delete changelog posts using the ChangeCrab API.

All Articles

Manage Changelog Posts via API

Create, update, and delete changelog posts (entries) using the ChangeCrab API. Automate your changelog updates and integrate with CI/CD pipelines.

Create Post

POST /api/changelogs/{id}/posts
{
  "summary": "New Feature Release",
  "markdown": "# New Feature\n\nDescription here",
  "public": 1,
  "draft": 0,
  "team": 1,
  "categories": [1, 2]
}

Update Post

PUT /api/changelogs/{id}/posts/{postId}
{
  "summary": "Updated Title",
  "markdown": "# Updated Content",
  "public": 1
}

Delete Post

DELETE /api/changelogs/{id}/posts/{postId}

List Posts

GET /api/changelogs/{id}/posts

Code Examples

// Create post
fetch('https://changecrab.com/api/changelogs/{id}/posts', {
  method: 'POST',
  headers: {
    'X-API-Key': 'your-api-key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    summary: 'New Feature',
    markdown: '# Feature\n\nDescription',
    public: 1,
    team: 1
  })
});

Next Steps