Journeys
publishJourneyRevision
Changed onMakes one revision the published version, the one customers receive, in a single transaction: the revision's configuration is copied onto the journey record, its datasource set onto the published datasources, and name, description, published_at and published_by are stamped onto the revision. Any revision can be published, old or new, so publishing an older revision is the rollback.
name is generated server-side when omitted, so every published revision carries one; an omitted name never replaces a name a previous publish already set. settings.isActive is never changed by a publish.
Only available for organizations with journey versioning enabled; returns 404 otherwise.
post/v1/journey/configuration/{id}/publish
Request
- Base URLhttps://journey-config.sls.epilot.io
- URLhttps://journey-config.sls.epilot.io/v1/journey/configuration/{id}/publish
- AuthHTTP bearer
Path parameters
idstring uuid required
Example:509cdffe-424f-457a-95c2-9708c304ce77
Journey ID
Request body
Example request
{
"revision_id": "42",
"name": "Summer campaign"
}Response
Revision published
Example response
{
"revision_id": "42",
"name": "Summer campaign"
}Changes
- info
endpoint added
- info