Skip to content

SDK API Reference / COMPOSABLE_SEGMENT_TYPE_JOURNEY

Variable: COMPOSABLE_SEGMENT_TYPE_JOURNEY

const COMPOSABLE_SEGMENT_TYPE_JOURNEY: "composable-segment-journey" = 'composable-segment-journey'

JSON:API resource type of a composable segment that belongs to a journey, as opposed to composable-segment for a standalone one.

Note CASApiClient.listSegments filters on composable-segment and therefore excludes these — a journey's own segments are only reachable through getSegment (/entities/composable_segments/:id), which needs no audience id.