Add user to journey

Use the addUserToJourney mutation to assign a user to a WGPT journey.

Arguments

Argument

Type

Description

input

Input

input.journey

ID!

Id of the journey to assign.

input.portalUser

ID!

Id of the Coach to assign.

input.profile

ID!

User Id base64 encoded.

Available Fields

The following fields will be displayed in the response:

Field

Type

Description

success

string

True if the user has been assigned to journey successfully. Otherwise, False

message

string

Description of the result

Examples

Setup a user's password

mutation{
  addUserToJourney (input:{journey:"Sm91cm5leTowNTM1NDgwNC0xZWVlLTQzN2YtYjczNS01N2IwZGE2MzA0ZDQ=" portalUser:"Q29hY2g6NzczMA==" profile:"TWVtYmVyOjMwNmEzMmI5LTJkZjAtNGM1MS05MmM4LWQwMDJiODE0NGE0MA=="}){
    success
    message
  }
}

Last updated