20 Feb 2025: The Journeys API now automatically publish journeys on creation

Santiago Cardona Updated by Santiago Cardona

We have updated the Journeys API to automatically publish newly created journeys. You can still send unpublished updates once the Journey has been created. This change aligns with how the UI works, making it easier to manage journeys across both creation methods

This is an Enterprise-only feature. For more details, refer to the Journey API developer documentation.
What’s Changing?

We are updating the Journeys API to ensure consistency between the API and the UI. Previously, when creating a journey through the Journeys API, you had the option to prevent automatic publishing by setting publish_latest_changes: false. With this change, all journeys created via the API will now be automatically published by default, aligning with the existing behavior of journeys created through the UI. However, subsequent updates (via a PATCH request) can be sent as unpublished.

Why This Change?

This update ensures that the first version of a journey is always considered the latest published version. It provides a more intuitive experience and aligns API behavior with UI functionality, making it easier to manage journeys across both creation methods.

What Action is Needed?

If you are concerned about the potential impact that this may have on your service, you can set enabled to false so that a Trigger doesn't take immediate effect.

Alternatively, you can avoid including a Trigger on creation, and instead, add the trigger as an unpublished update in case you want to preview the changes that adding this Journey would have on your service.

If you currently use publish_latest_changes: false when creating journeys via the API, please note that this setting will no longer have any effect. All newly created journeys will be automatically published, so you may need to adjust any dependent workflows accordingly.

Was this article helpful?

19 Feb 2025: AI for chat service: unlocking the power of AI on turn.io

Contact