Journeys

getJourneyPublishState

Changed on

Answers which revision is the published version without paging through the history. A journey that has not adopted versioning yet returns 200 with published_revision_id: null, not 404.

Only available for organizations with journey versioning enabled; returns 404 otherwise.

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

Request

  • Base URL
    https://journey-config.sls.epilot.io
  • URL
    https://journey-config.sls.epilot.io/v1/journey/configuration/{id}/publish-state
  • Auth
    HTTP bearer

Path parameters

idstring uuid required
Example:509cdffe-424f-457a-95c2-9708c304ce77

Journey ID

Response

Publish state

journey_idstring uuid required
published_revision_idstring nullable required

An explicit null means the journey has not adopted versioning yet: it exists, customers receive its journey record, and no revision is the published version.

published_atstring date-time
published_bystring

Example response

{
  "published_revision_id": "42"
}

Changes