Ir al contenido principal
Changelogs

Publish a changelog

Publishes a changelog and optionally sends an email notification to subscribers.

POST
/v2/changelogs/{id}/publish

Optional Fields

  • sendEmail - Whether to send an email notification to subscribers (default: false)
  • locales - Array of locales to publish. An empty array publishes to all available locales
  • scheduledDate - A future date/time when the changelog should be published

Scheduling

If scheduledDate is provided:

  • Must be a future date
  • The changelog will be scheduled for publishing at that time
  • Any existing scheduled publish for the same locales will be cancelled and replaced

Email Notifications

If sendEmail is true:

  • Email notifications are sent to all subscribers in the published locales
  • Emails are only sent once per locale (won't resend on republish)

Response

Returns the changelog after the publish (state: "live" once published), plus:

  • warnings - Non-fatal problems of the publish, e.g. an email that could not be sent. The changelog is still published.
  • emailSent - Whether subscriber emails were sent

A scheduled publish returns the changelog as it is now; it goes live at scheduledDate.

Errors

  • 400 - Invalid changelog ID or scheduled date is not in the future
  • 404 - Changelog not found or doesn't belong to your organization
Authorizationstringheaderobligatorio

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringobligatorio

Changelog unique identifier

Ejemplo: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Opciones disponibles: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Ejemplo: 2026-08-19.orbit

Cuerpo

application/json
localesenum<string>[]default:[]

An array of locales to publish the changelog to. An empty array publishes to all locales.

scheduledDatestring | null

The date when the changelog should be published. Must be a future date. Pass null or omit to publish immediately.

Ejemplo: 2023-12-01T00:00:00Z
sendEmailboolean | nulldefault:false

A flag indicating whether to send an email notification to subscribers.

Ejemplo: true

Respuesta

application/json

Success

allowedSegmentIdsstring[]obligatorio

Segment IDs that are allowed to view this changelog

availableLocalesstring[]obligatorio

Array of locale codes where the changelog has content

categoriesobject[]obligatorio

Categories the changelog belongs to

commentCountnumberobligatorio

Number of comments

Ejemplo: 2
contentstringobligatorio

Content in HTML format

Ejemplo: <p>Your changelog content in HTML format.</p>
createdAtstringobligatorio

ISO 8601 timestamp when created

Ejemplo: 2023-12-12T00:00:00.000Z
datestringobligatorio

Publication date as ISO 8601 timestamp

Ejemplo: 2023-05-07T12:59:59.000Z
emailSentbooleanobligatorio

Whether subscriber emails were sent for this publish

Ejemplo: false
emailSentToSubscribersbooleanobligatorio

Whether email notification was sent to subscribers

Ejemplo: true

Featured image URL

Ejemplo: https://cdn.example.com/images/feature.png
idstringobligatorio

Unique identifier

Ejemplo: 6457e3ff70afca5d8c27dccc
isDraftDiffersFromLivebooleanobligatorio

Whether the draft content differs from the published live content

Ejemplo: false
isPublishedbooleanobligatorio

Whether the changelog is published (has a live version) in this locale

Ejemplo: true
localeenum<string>obligatorio

Locale of the changelog

Opciones disponibles: ar, am, fa, ht, lo, my, pa, ps, so, tl, ur, he, ta, te, mr, gu, kn, ml, ha, jv, yo, ig, uz, ne, sd, az, si, km, kk, bn, bs, pt-BR, bg, ca, hr, cs, da, nl, en, et, fi, fr, de, el, hi, hu, id, it, ja, ko, lv, lt, ms, mn, nb, pl, pt, ro, ru, sr, zh-CN, sk, sl, es, sw, sv, th, zh-TW, tr, uk, vi
Ejemplo: en
markdownContentstring | nullobligatorio

Content in markdown format

Ejemplo: Your changelog content in markdown format.
notificationsobjectobligatorio

Notification settings for each locale

objectenum<string>obligatorio

Object type identifier

Opciones disponibles: changelog
Ejemplo: changelog
organizationstringobligatorio

Organization identifier

Ejemplo: myorg
publishedLocalesstring[]obligatorio

Array of locale codes where the changelog is published

slugstringobligatorio

URL-friendly slug

Ejemplo: your-awesome-changelog
slugsobjectobligatorio

URL-friendly slugs for each locale

stateenum<string>obligatorio

State of the changelog

Opciones disponibles: live, draft
Ejemplo: live
titlestringobligatorio

Changelog title

Ejemplo: Your awesome changelog!
updatedAtstringobligatorio

ISO 8601 timestamp when updated

Ejemplo: 2023-12-13T00:00:00.000Z
urlstringobligatorio

Public URL to view the changelog

Ejemplo: https://myorg.featurebase.app/en/changelog/your-awesome-changelog
warningsstring[]obligatorio

Non-fatal problems of the publish. The changelog is live; each entry says what did not happen, e.g. an email that was not sent.