Create a new changelog
Creates a new changelog for the authenticated organization.
Required Fields
title- The title of the changelog
Content
Provide content in one of two formats (at least one is required):
htmlContent- HTML content of the changelogmarkdownContent- Markdown content of the changelog
Note: For images in content, you can use:
- External URLs in img src attributes (automatically uploaded to our storage)
- Base64 encoded data URIs (data:image/…) which are processed and stored
Optional Fields
categories- Array of category names (e.g., [“New”, “Fixed”, “Improved”])featuredImage- URL of the featured image (external URLs are uploaded to our storage)allowedSegmentIds- Array of segment IDs that are allowed to view the changeloglocale- The locale of the changelog (defaults to organization default)date- The date of the changelogstate- The state of the changelog:draft(default) orlive
Response
Returns the created changelog object.
Body ParametersJSON
An array of segment IDs that are allowed to view the changelog
The URL of the featured image for the changelog. External URLs will be uploaded to our storage.
HTML content of the changelog. Provide either htmlContent or markdownContent. Supports Featurebase custom blocks (callouts, multi-code, accordions, columns, file/image/video, iframes) — see the Content Components guide. External image URLs and base64 data URIs are uploaded to our storage automatically.
Markdown content of the changelog (CommonMark + GFM). Provide either htmlContent or markdownContent. Markdown is converted to plain HTML — to use Featurebase custom blocks (callouts, multi-code, accordions, columns) send htmlContent instead. See the Content Components guide.
Create a new changelog
curl https://do.featurebase.app/v2/changelogs \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $FEATUREBASE_API_KEY" \
-d '{
"title": "New Features Update",
"allowedSegmentIds": [
"507f1f77bcf86cd799439011"
],
"categories": [
"New",
"Fixed",
"Improved"
],
"date": "2024-01-15",
"featuredImage": "https://example.com/image.png",
"htmlContent": "<p>Exciting new features to explore.</p>",
"locale": "en",
"markdownContent": "Exciting new features to explore.",
"state": "draft"
}'{
"id": "6457e3ff70afca5d8c27dccc",
"allowedSegmentIds": [
"string"
],
"availableLocales": [
"en",
"de",
"fr"
],
"categories": [
{
"id": "6438a1efda3640f8feb72121",
"name": "New Features",
"roles": [
"string"
]
}
],
"commentCount": 2,
"content": "<p>Your changelog content in HTML format.</p>",
"createdAt": "2023-12-12T00:00:00.000Z",
"date": "2023-05-07T12:59:59.000Z",
"emailSentToSubscribers": true,
"featuredImage": "https://cdn.example.com/images/feature.png",
"isDraftDiffersFromLive": false,
"isPublished": true,
"locale": "en",
"markdownContent": "Your changelog content in markdown format.",
"notifications": {
"foo": {
"scheduledDate": "2024-01-15T12:00:00.000Z",
"emailSent": true,
"hideFromBoardAndWidgets": false,
"sendEmailNotification": true
}
},
"object": "changelog",
"organization": "myorg",
"publishedLocales": [
"en",
"de"
],
"slug": "your-awesome-changelog",
"slugs": {
"en": "your-awesome-changelog",
"de": "dein-tolles-changelog"
},
"state": "live",
"title": "Your awesome changelog!",
"updatedAt": "2023-12-13T00:00:00.000Z",
"url": "https://myorg.fbasedev.com/en/changelog/your-awesome-changelog"
}Returns Examples
{
"id": "6457e3ff70afca5d8c27dccc",
"allowedSegmentIds": [
"string"
],
"availableLocales": [
"en",
"de",
"fr"
],
"categories": [
{
"id": "6438a1efda3640f8feb72121",
"name": "New Features",
"roles": [
"string"
]
}
],
"commentCount": 2,
"content": "<p>Your changelog content in HTML format.</p>",
"createdAt": "2023-12-12T00:00:00.000Z",
"date": "2023-05-07T12:59:59.000Z",
"emailSentToSubscribers": true,
"featuredImage": "https://cdn.example.com/images/feature.png",
"isDraftDiffersFromLive": false,
"isPublished": true,
"locale": "en",
"markdownContent": "Your changelog content in markdown format.",
"notifications": {
"foo": {
"scheduledDate": "2024-01-15T12:00:00.000Z",
"emailSent": true,
"hideFromBoardAndWidgets": false,
"sendEmailNotification": true
}
},
"object": "changelog",
"organization": "myorg",
"publishedLocales": [
"en",
"de"
],
"slug": "your-awesome-changelog",
"slugs": {
"en": "your-awesome-changelog",
"de": "dein-tolles-changelog"
},
"state": "live",
"title": "Your awesome changelog!",
"updatedAt": "2023-12-13T00:00:00.000Z",
"url": "https://myorg.fbasedev.com/en/changelog/your-awesome-changelog"
}