← API reference
Mutation / surfaces

createJourneyVersion

Create a new draft version of a journey. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else journey:write.

Arguments

The journey to extend and the definition for its new draft.

Returns JourneyVersionPayload!

Explore in a view

Journeys and Workspaces
View exact SDL
"""
Create a new draft version of a journey. Always mints a new version rather than amending an open draft, so several drafts may be open at once. Owner for PERSONAL, else journey:write.
"""
createJourneyVersion(
  """The journey to extend and the definition for its new draft."""
  input: CreateJourneyVersionInput!
): JourneyVersionPayload! @topic(names: ["surfaces"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.