← All types
In Input object

CreateJourneySourceInput

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

Fields

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.

Possible values (3)
PERSONAL

Owned by one user and visible only to them. Self-service: authoring it needs journey:personal rather than journey:write, and journey:write is not a backdoor into someone else's personal journey.

TEAM

Offered to the members of the teams it is assigned to; at least one team is required. Authoring it needs journey:write.

INSTANCE

Offered to everyone in the tenant whose permissions cover its requiredDomains. The default scope when none is given, and what bundled journeys use; authoring it needs journey:write.

teamIds

[TeamID!]Optional

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

Referenced by (1)
Exact type 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!]
}