Journeys
createJourneyRevision
Changed onCreates a revision: an immutable copy of the complete journey configuration, identified by revision_id. Nothing customers receive changes; the revision only becomes the published version when it is published. The payload is complete and is not merged against the journey record or the previous revision. The entity datasource set of the revision is stored separately through the datasources API under the same revision_id.
Only available for organizations with journey versioning enabled; returns 404 otherwise.
post/v1/journey/configuration/{id}/revisions
Request
- Base URLhttps://journey-config.sls.epilot.io
- URLhttps://journey-config.sls.epilot.io/v1/journey/configuration/{id}/revisions
- AuthHTTP bearer
Path parameters
idstring uuid required
Example:509cdffe-424f-457a-95c2-9708c304ce77
Journey ID
Request body
Example request
{
"journey_type": "Sales template (Premium)",
"settings": {
"embedOptions": {
"lang": "de"
},
"offline": {
"packTtlHours": 24
}
},
"validationRules": {
"block1": "rule123",
"block2": [
"rule456",
"rule789"
],
"block3": {
"field1": "rule101",
"field2": [
"rule102",
"rule103"
]
}
},
"_manifest": [
"123e4567-e89b-12d3-a456-426614174000"
],
"parent_revision_id": "41",
"based_on_revision_id": "37",
"mapping_config_version": 12,
"revision_name": "Changes to Steps and Logic"
}Response
Revision created
Example response
{
"revision_id": "42",
"name": "Summer campaign",
"mapping_config_version": 12
}Changes
- info
added the new optional request property
////// - info
added the new optional request property
/////
- info
- info
added the new optional request property
////
- info