Apps & SurfacesMu Mutation

createJourney

Topics: Surfaces

Create a new journey. PERSONAL is self-service; TEAM/INSTANCE require journey:write.

Returns

JourneyPayload!

Arguments

The journey document plus its scope and team assignments. Always creates a new journey with a single draft version; it never edits an existing one.

Exact field SDL
"""
Create a new journey. PERSONAL is self-service; TEAM/INSTANCE require journey:write.
"""
createJourney(
  """
  The journey document plus its scope and team assignments. Always creates a new journey with a single draft version; it never edits an existing one.
  """
  input: CreateJourneyInput!
): JourneyPayload! @topic(names: ["surfaces"])

Declared on Mutation. Access is checked by the platform for each operation.