← API reference
CANONICAL TYPE REFERENCE

CreateJourneySourceInput

Create a journey from authoritative XML with optional visibility and team assignments.

sourceXMLString!

Author-owned Journey XML to compile and store; compiled definitions are produced by the server.

Visibility and ownership scope for the new journey; omitted scope follows native journey creation defaults.

Teams to assign to a TEAM-scoped journey, validated using native journey authorization.

View exact SDL
"""
Create a journey from authoritative XML with optional visibility and team assignments.
"""
input CreateJourneySourceInput {
  """
  Author-owned Journey XML to compile and store; compiled definitions are produced by the server.
  """
  sourceXML: String!
  """
  Visibility and ownership scope for the new journey; omitted scope follows native journey creation defaults.
  """
  scope: JourneyScope
  """
  Teams to assign to a TEAM-scoped journey, validated using native journey authorization.
  """
  teamIds: [TeamID!]
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.