# Create a duplicate of the specified journey Create a duplicate of the specified journey Endpoint: POST /entities/journeys/duplicate Version: 1.0.0 Security: TdApikeyAuth ## Request fields (application/vnd.treasuredata.v1+json): - `id` (string, required) source journey id - `type` (string, required) Enum: "journey" - `attributes` (object, required) - `attributes.name` (string, required) - `relationships` (object, required) - `relationships.parentFolder` (object) - `relationships.parentFolder.data` (object) - `relationships.parentFolder.data.id` (string, required) ## Response 200 fields (application/vnd.treasuredata.v1+json): - `data` (object, required) - `data.id` (string, required) - `data.type` (string, required) Enum: "journey" - `data.attributes` (object, required) - `data.attributes.audienceId` (string, required) - `data.attributes.name` (string, required) - `data.attributes.description` (string,null, required) - `data.attributes.state` (string, required) - `data.attributes.goal` (object,null, required) - `data.attributes.goal.segmentId` (string, required) - `data.attributes.goal.target` (object) - `data.attributes.goal.target.journeyId` (string, required) - `data.attributes.goal.target.journeyStageId` (string, required) - `data.attributes.goal.target.journeyBundleId` (string,null) - `data.attributes.goal.target.stageOrderIndex` (integer,null) - `data.attributes.goal.target.jumpReferenceId` (string,null) The reference id of the jump target. This is used to identify the jump entity in the included field. - `data.attributes.createdAt` (string, required) - `data.attributes.updatedAt` (string, required) - `data.attributes.journeyStages` (array, required) - `data.attributes.journeyStages.steps` (object,null) - `data.attributes.journeyStages.steps.uuid` (any) - `data.attributes.journeyStages.rootStep` (string) - `data.attributes.journeyStages.entryCriteria` (object,null) - `data.attributes.journeyStages.milestone` (object,null) - `data.attributes.journeyStages.exitCriterias` (array) - `data.attributes.paused` (boolean, required) - `data.attributes.pausedAt` (string,null, required) - `data.attributes.allowReentry` (boolean, required) - `data.attributes.reentryMode` (string) Enum: "no_reentry", "reentry_unless_goal_achieved", "reentry_always" - `data.attributes.journeyBundleName` (string,null) - `data.attributes.versionNumber` (integer) - `data.attributes.journeyBundleDescription` (string,null) - `data.attributes.latestExecution` (object,null) The most recent execution of the journey workflow. If no executions have been created, this will be null. - `data.attributes.latestExecution.workflowId` (string, required) - `data.attributes.latestExecution.workflowSessionId` (string, required) - `data.attributes.latestExecution.finishedAt` (string,null, required) - `data.attributes.latestExecution.status` (string, required) Enum: "success", "canceled", "error", "canceling", "blocked", "queued", "running" - `data.attributes.latestExecution.workflowAttemptId` (string, required) - `data.relationships` (object, required) - `data.relationships.parentFolder` (object) - `data.relationships.createdBy` (object) - `data.relationships.updatedBy` (object) - `included` (array, required)