Skip to main content

Journey API

API to configure journeys

Quick Startโ€‹

# List available operations
epilot journey

# Call an operation
epilot journey getJourneysByOrgId -p id=123

Common Flagsโ€‹

FlagDescription
-p key=valueSet a named parameter
-d '{...}'Request body JSON
-H 'Key: Value'Custom header
-t, --token <token>Bearer token for authentication
--profile <name>Use a named profile
-s, --server <url>Override server base URL
-i, --includeInclude response headers in output
--jsonOutput raw JSON (no formatting)
-v, --verboseVerbose output (show request details)
--jsonata <expr>JSONata expression to transform response
--definition <file>Override OpenAPI spec file/URL
--guidedPrompt for all parameters interactively
--no-interactiveDisable interactive prompts

Operationsโ€‹

Journeys

  • getJourneysByOrgId โ€” Get all journeys by organization id
  • getJourney โ€” Get journey by id. Private journeys requires valid private token to be passed
  • removeJourney โ€” Remove journey by id
  • listJourneyRevisions โ€” Lists the journey's revision history, newest first. Metadata only, no configuration payload. is_published says whether
  • createJourneyRevision โ€” Creates a revision: an immutable copy of the complete journey configuration, identified by revision_id. Nothing custom
  • getJourneyRevision โ€” Returns one revision with its full configuration, in the shape the builder holds a journey in, so it can be loaded strai
  • publishJourneyRevision โ€” Makes one revision the published version, the one customers receive, in a single transaction: the revision's configurati
  • getJourneyPublishState โ€” Answers which revision is the published version without paging through the history. A journey that has not adopted versi
  • getJourneyEnvironment โ€” Resolve the environment variables referenced by this journey. Only browser-safe value types are returned.
  • getJourneyEnvironmentVariables โ€” List the organization's environment variables that a journey block may use as an options source. Only Map variables that
  • getJourneyProducts โ€” Get products available in the journey by id. requires public journey token to be passed.
  • createJourney โ€” Create a Journey
  • updateJourney โ€” Update a Journey
  • patchUpdateJourney โ€” Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").
  • searchJourneys โ€” Search Journeys
  • generateDocument โ€” Builds document generated from a template with journey values."
  • getSettingsForJourney โ€” Get settings related to the journey using journey ID.
  • getButtonOptions โ€” Get button options from a csv file.

Journeys V2

getJourneysByOrgIdโ€‹

Get all journeys by organization id

GET /v1/journey/organization/{id}

Parameters

NameInTypeRequiredDescription
idpathstringYesOrganization ID
hydratequerystringNoHydrate

Sample Call

epilot journey getJourneysByOrgId \
-p id=123

Using positional args for path parameters:

epilot journey getJourneysByOrgId 123

With JSONata filter:

epilot journey getJourneysByOrgId -p id=123 --jsonata '$'
Sample Response
{}

getJourneyโ€‹

Get journey by id. Private journeys requires valid private token to be passed

GET /v1/journey/configuration/{id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID
versionquerynumberNoRevision row to read. 0 (default) is the journey record, the published version every customer receives; a positive integer n reads revision row n (used by config-engine for history reads). Disti
revision_idquerystringNoServe the named revision instead of the published version, so a save-and-continue session can stay on the revision it started on. Only revisions that have been published at least once are served on th
sourcequerystringNoWhat source ID. Journey or Entity ID
orgIdquerystringNoOrganization ID

Sample Call

epilot journey getJourney \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey getJourney 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey getJourney -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata '$'
Sample Response
{
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string",
"createdAt": "string",
"lastModifiedAt": "string",
"deletedAt": "string",
"version": 0,
"revisions": 0,
"featureFlags": {},
"revision_id": "42"
}

removeJourneyโ€‹

Remove journey by id

DELETE /v1/journey/configuration/{id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Sample Call

epilot journey removeJourney \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey removeJourney 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey removeJourney -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata '$'

listJourneyRevisionsโ€‹

Lists the journey's revision history, newest first. Metadata only, no configuration payload. is_published says whether

GET /v1/journey/configuration/{id}/revisions

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID
limitquerynumberNoMaximum number of revisions to return
cursorquerystringNoOpaque pagination cursor, taken from a previous response's next_cursor

Sample Call

epilot journey listJourneyRevisions \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey listJourneyRevisions 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey listJourneyRevisions -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata 'results[0]'
Sample Response
{
"results": [
{
"revision_id": "42",
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"name": "Summer campaign",
"description": "string",
"published_at": "1970-01-01T00:00:00.000Z",
"is_published": true,
"mapping_config_version": 12
}
],
"next_cursor": "string"
}

createJourneyRevisionโ€‹

Creates a revision: an immutable copy of the complete journey configuration, identified by revision_id. Nothing custom

POST /v1/journey/configuration/{id}/revisions

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Request Body (required)

Sample Call

epilot journey createJourneyRevision \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

With request body:

epilot journey createJourneyRevision \
-p id=509cdffe-424f-457a-95c2-9708c304ce77 \
-d '{
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string",
"parent_revision_id": "41",
"based_on_revision_id": "37",
"mapping_config_version": 12,
"revision_name": "Changes to Steps and Logic"
}'

Using positional args for path parameters:

epilot journey createJourneyRevision 509cdffe-424f-457a-95c2-9708c304ce77

Using stdin pipe:

cat body.json | epilot journey createJourneyRevision -p id=509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey createJourneyRevision -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata 'revision_id'
Sample Response
{
"revision_id": "42",
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"name": "Summer campaign",
"description": "string",
"published_at": "1970-01-01T00:00:00.000Z",
"is_published": true,
"mapping_config_version": 12
}

getJourneyRevisionโ€‹

Returns one revision with its full configuration, in the shape the builder holds a journey in, so it can be loaded strai

GET /v1/journey/configuration/{id}/revisions/{revision_id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID
revision_idpathstringYesRevision ID, as returned in a revision summary

Sample Call

epilot journey getJourneyRevision \
-p id=509cdffe-424f-457a-95c2-9708c304ce77 \
-p revision_id=42

Using positional args for path parameters:

epilot journey getJourneyRevision 509cdffe-424f-457a-95c2-9708c304ce77 42

With JSONata filter:

epilot journey getJourneyRevision -p id=509cdffe-424f-457a-95c2-9708c304ce77 -p revision_id=42 --jsonata '$'
Sample Response
{
"revision_id": "42",
"created_at": "1970-01-01T00:00:00.000Z",
"created_by": "string",
"name": "Summer campaign",
"description": "string",
"published_at": "1970-01-01T00:00:00.000Z",
"is_published": true,
"mapping_config_version": 12,
"configuration": {
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{}
],
"logics": [
{}
],
"logicsV4": {},
"contextSchema": [
{}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string",
"createdAt": "string",
"lastModifiedAt": "string",
"deletedAt": "string",
"version": 0,
"revisions": 0,
"featureFlags": {}
}
}

publishJourneyRevisionโ€‹

Makes one revision the published version, the one customers receive, in a single transaction: the revision's configurati

POST /v1/journey/configuration/{id}/publish

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Request Body (required)

Sample Call

epilot journey publishJourneyRevision \
-p id=509cdffe-424f-457a-95c2-9708c304ce77 \
-d '{"revision_id":"42","name":"Summer campaign","description":"string"}'

Using positional args for path parameters:

epilot journey publishJourneyRevision 509cdffe-424f-457a-95c2-9708c304ce77

Using stdin pipe:

cat body.json | epilot journey publishJourneyRevision -p id=509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey publishJourneyRevision -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata 'revision_id'
Sample Response
{
"revision_id": "42",
"name": "Summer campaign",
"published_at": "1970-01-01T00:00:00.000Z",
"published_by": "string",
"post_publish_warnings": ["string"]
}

getJourneyPublishStateโ€‹

Answers which revision is the published version without paging through the history. A journey that has not adopted versi

GET /v1/journey/configuration/{id}/publish-state

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Sample Call

epilot journey getJourneyPublishState \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey getJourneyPublishState 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey getJourneyPublishState -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata 'journey_id'
Sample Response
{
"journey_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"published_revision_id": "42",
"published_at": "1970-01-01T00:00:00.000Z",
"published_by": "string"
}

getJourneyEnvironmentโ€‹

Resolve the environment variables referenced by this journey. Only browser-safe value types are returned.

GET /v1/journey/configuration/{id}/environment

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID bound to the supplied journey access token

Sample Call

epilot journey getJourneyEnvironment \
-p id=123e4567-e89b-12d3-a456-426614174000

Using positional args for path parameters:

epilot journey getJourneyEnvironment 123e4567-e89b-12d3-a456-426614174000

With JSONata filter:

epilot journey getJourneyEnvironment -p id=123e4567-e89b-12d3-a456-426614174000 --jsonata 'items[0]'
Sample Response
{
"items": [
{
"datasourceId": "string",
"type": "Text",
"value": "string"
}
],
"errors": [
{
"datasourceId": "string",
"code": "not_found"
}
]
}

getJourneyEnvironmentVariablesโ€‹

List the organization's environment variables that a journey block may use as an options source. Only Map variables that

GET /v1/journey/environment-variables

Sample Call

epilot journey getJourneyEnvironmentVariables

With JSONata filter:

epilot journey getJourneyEnvironmentVariables --jsonata 'items[0]'
Sample Response
{
"items": [
{
"key": "string",
"type": "Map",
"value": {
"fallbackLanguage": "de",
"options": [
{
"key": "string",
"value": "string"
}
]
},
"description": "string"
}
]
}

getJourneyProductsโ€‹

Get products available in the journey by id. requires public journey token to be passed.

GET /v1/journey/products/{id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID
sourcequerystringNoWhat source ID. Journey or Entity ID
postal_codequerystringNoZip Code for availibility
cityquerystringNocity for availibility
streetquerystringNostreet name for availibility
street_numberquerystringNostreet number for availibility

Sample Call

epilot journey getJourneyProducts \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey getJourneyProducts 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey getJourneyProducts -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata '$'
Sample Response
[
{
"type": "string",
"_schema": "string",
"_title": "string",
"name": "string",
"_id": "string",
"_org": "string",
"code": "string",
"description": "string",
"feature": [
{}
],
"product_images": [
{}
],
"legal_footnote": "string",
"product_downloads": [
{}
],
"price": {}
}
]

createJourneyโ€‹

Create a Journey

POST /v1/journey/configuration

Parameters

NameInTypeRequiredDescription
skipAutomationquerystring (Yn)Noskip creating an Automation (it takes Yn format "true, yes, 1, y")

Request Body

Sample Call

epilot journey createJourney

With request body:

epilot journey createJourney \
-d '{
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string"
}'

Using stdin pipe:

cat body.json | epilot journey createJourney

With JSONata filter:

epilot journey createJourney --jsonata '$'
Sample Response
{
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string",
"createdAt": "string",
"lastModifiedAt": "string",
"deletedAt": "string",
"version": 0,
"revisions": 0,
"featureFlags": {}
}

updateJourneyโ€‹

Update a Journey

PUT /v1/journey/configuration

Request Body

Sample Call

epilot journey updateJourney

With request body:

epilot journey updateJourney \
-d '{
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string"
}'

Using stdin pipe:

cat body.json | epilot journey updateJourney

With JSONata filter:

epilot journey updateJourney --jsonata '$'

patchUpdateJourneyโ€‹

Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").

PATCH /v1/journey/configuration

Request Body

Sample Call

epilot journey patchUpdateJourney \
-d '{"journeyId":"509cdffe-424f-457a-95c2-9708c304ce77","__lastModifiedAt":"string"}'

Using stdin pipe:

cat body.json | epilot journey patchUpdateJourney

With JSONata filter:

epilot journey patchUpdateJourney --jsonata 'createdJourney'
Sample Response
{
"createdJourney": {
"journeyId": "string",
"organizationId": "string",
"brandId": "string",
"name": "string",
"steps": [
{}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{}
],
"logics": [
{}
],
"logicsV4": {},
"contextSchema": [
{}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {},
"safeModeAutomation": true,
"canary": true,
"designId": "string",
"templateId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"targetedCustomer": "string",
"description": "string",
"organizationSettings": {},
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"useAustrianLabels": true,
"enableDarkMode": true,
"accessMode": "PUBLIC",
"authGate": {},
"isPublished": true,
"status": "string",
"isActive": true,
"savingProgress": {},
"thirdPartyCookies": true
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"createdBy": "string",
"updatedBy": "string",
"__lastModifiedAt": "string",
"createdAt": "string",
"lastModifiedAt": "string",
"deletedAt": "string",
"version": 0,
"revisions": 0,
"featureFlags": {}
}
}

searchJourneysโ€‹

Search Journeys

POST /v1/journey/configuration/search

Request Body

Sample Call

epilot journey searchJourneys \
-d '{"q":"_tags:*Flex*","from":0,"size":25,"sort":"_created_at:desc"}'

Using stdin pipe:

cat body.json | epilot journey searchJourneys

With JSONata filter:

epilot journey searchJourneys --jsonata 'results[0]'
Sample Response
{
"hits": 1,
"results": [
{
"_id": "e0f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8",
"_schema": "journey",
"_title": "Journey Entity Title",
"_org": "739224",
"_created_at": "2020-01-01T00:00:00.000Z",
"_updated_at": "2020-01-01T00:00:00.000Z",
"_tags": ["Flex"],
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
"journey_name": "Journey Name",
"journey_id": "de7df470-253e-11ed-9174-116b8a718c0a",
"journey_type": "Sales template",
"design": "Design EPILOT",
"created_by": [
{
"id": "12345"
}
],
"journey_version": "Flex"
}
]
}

generateDocumentโ€‹

Builds document generated from a template with journey values."

POST /v1/journey/document:generate

Request Body

Sample Call

epilot journey generateDocument

With request body:

epilot journey generateDocument \
-d '{
"file_id": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"context_data": {
"additionalProperties": "string"
},
"context_entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"language": "de"
}'

Using stdin pipe:

cat body.json | epilot journey generateDocument

With JSONata filter:

epilot journey generateDocument --jsonata 'job_id'
Sample Response
{
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"job_status": "STARTED",
"message": "string",
"pdf_output": {
"preview_url": "https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf",
"output_document": {
"s3ref": {
"bucket": "document-api-preview-prod",
"key": "preview/my-template.pdf"
}
}
},
"docx_output": {
"preview_url": "https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx",
"output_document": {
"s3ref": {
"bucket": "document-api-preview-prod",
"key": "preview/my-template.docx"
}
}
},
"variable_payload": {
"additionalProperties": "string"
},
"template_settings": {
"custom_margins": {
"top": 2.54,
"bottom": 2.54
},
"suggested_margins": {
"top": 2.54,
"bottom": 2.54
},
"display_margin_guidelines": true,
"enable_data_table_margin_autofix": false,
"template_with_datatable": false,
"enabled_template_settings_persistence": false,
"misconfigured_margins": false,
"file_entity_id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
}
}

createJourneyV2โ€‹

Create a Journey

POST /v2/journey/configuration

Parameters

NameInTypeRequiredDescription
skipAutomationquerystring (Yn)Noskip creating an Automation (it takes Yn format "true, yes, 1, y")

Request Body

Sample Call

epilot journey createJourneyV2

With request body:

epilot journey createJourneyV2 \
-d '{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}'

Using stdin pipe:

cat body.json | epilot journey createJourneyV2

With JSONata filter:

epilot journey createJourneyV2 --jsonata 'journeyId'
Sample Response
{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}

updateJourneyV2โ€‹

Update a Journey

PUT /v2/journey/configuration

Request Body

Sample Call

epilot journey updateJourneyV2

With request body:

epilot journey updateJourneyV2 \
-d '{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}'

Using stdin pipe:

cat body.json | epilot journey updateJourneyV2

With JSONata filter:

epilot journey updateJourneyV2 --jsonata 'journeyId'
Sample Response
{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}

patchUpdateJourneyV2โ€‹

Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").

PATCH /v2/journey/configuration

Request Body

Sample Call

epilot journey patchUpdateJourneyV2 \
-d '{"journeyId":"509cdffe-424f-457a-95c2-9708c304ce77","__lastModifiedAt":"string"}'

Using stdin pipe:

cat body.json | epilot journey patchUpdateJourneyV2

With JSONata filter:

epilot journey patchUpdateJourneyV2 --jsonata 'journeyId'
Sample Response
{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}

getJourneyV2โ€‹

Get journey by id

GET /v2/journey/configuration/{id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID
versionquerynumberNoRevision row to read. 0 (default) is the journey record, the published version every customer receives; a positive integer n reads revision row n (used by config-engine for history reads). Disti

Sample Call

epilot journey getJourneyV2 \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey getJourneyV2 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey getJourneyV2 -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata '$'
Sample Response
{
"journeyId": "string",
"brandId": "string",
"name": "string",
"steps": [
{
"showStepName": true,
"title": "string",
"subTitle": "string",
"showStepSubtitle": true,
"showStepper": true,
"showStepperLabels": true,
"stepperType": "numbers",
"hideNextButton": true,
"name": "string",
"stepId": "string",
"schema": {},
"uischema": {},
"maxWidth": "small"
}
],
"design": {
"logoUrl": "string",
"theme": {},
"designTokens": {}
},
"rules": [
{
"type": "inject",
"sourceType": "journey",
"source": "string",
"target": "string"
}
],
"logics": [
{
"autoGeneratedId": "string",
"conditions": ["string"],
"actions": ["string"]
}
],
"logicsV4": {},
"contextSchema": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"paramKey": "string",
"isRequired": true,
"shouldLoadEntity": true,
"description": "string"
}
],
"journey_type": "Sales template (Premium)",
"protected": true,
"protectedEditable": ["string"],
"settings": {
"embedOptions": {
"mode": "full-screen",
"lang": "de",
"width": "string",
"topBar": true,
"scrollToTop": true,
"button": {}
},
"safeModeAutomation": true,
"designId": "string",
"entityId": "string",
"mappingsAutomationId": "string",
"newMappings": true,
"templateId": "string",
"targetedCustomer": "string",
"description": "string",
"publicToken": "string",
"runtimeEntities": ["ORDER"],
"filePurposes": ["string"],
"entityTags": ["string"],
"addressSuggestionsFileUrl": "string",
"addressSuggestionsFileId": "string",
"addressSuggestionsCountryCode": "string",
"addressSuggestionsEnableAutoComplete": true,
"addressSuggestionsSource": ["string"],
"addressSuggestionsEnableFreeText": true,
"useNewDesign": true,
"thirdPartyCookies": true,
"accessMode": "PUBLIC",
"authGate": {
"stepId": "string"
},
"enableDarkMode": true,
"useAustrianLabels": true,
"isActive": true,
"savingProgress": {
"mode": "auto",
"supportedRevision": 0
}
},
"validationRules": {
"block1": "rule123",
"block2": ["rule456", "rule789"],
"block3": {
"field1": "rule101",
"field2": ["rule102", "rule103"]
}
},
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
}

removeJourneyV2โ€‹

Remove journey by id

DELETE /v2/journey/configuration/{id}

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Sample Call

epilot journey removeJourneyV2 \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey removeJourneyV2 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey removeJourneyV2 -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata '$'

getSettingsForJourneyโ€‹

Get settings related to the journey using journey ID.

GET /v1/journey/{id}/settings

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)YesJourney ID

Sample Call

epilot journey getSettingsForJourney \
-p id=509cdffe-424f-457a-95c2-9708c304ce77

Using positional args for path parameters:

epilot journey getSettingsForJourney 509cdffe-424f-457a-95c2-9708c304ce77

With JSONata filter:

epilot journey getSettingsForJourney -p id=509cdffe-424f-457a-95c2-9708c304ce77 --jsonata 'organizationId'
Sample Response
{
"organizationId": "739224",
"canary": true,
"thirdPartyCookies": true
}

getButtonOptionsโ€‹

Get button options from a csv file.

GET /v1/journey/button-options

Parameters

NameInTypeRequiredDescription
fileIdquerystringYesfile id to get button options from

Sample Call

epilot journey getButtonOptions \
-p fileId=535ef74a-dd66-4d01-94a9-725016e70d1c

With JSONata filter:

epilot journey getButtonOptions -p fileId=535ef74a-dd66-4d01-94a9-725016e70d1c --jsonata '$'
Sample Response
[
{
"value": "Button Hidden Value",
"label": "Button Label"
}
]