Journey

Retrieve a program's journey content

Use the currentJourneys query to retrieve the journey content for the program to which the user is currently set.

Available fields

Field

Type

Description

databaseid

Journey Database ID

Profile Journey database id

id

String

Journey ID. use this id to update a Journey Status

Status

JourneyStatus

JourneyStatus enum. CLOSE, OPEN, FINISH

Example

{
  currentJourneys {
    edges {
        node {
            databaseId,
            id,
            status,
            dashboard {
                title,
                subTitle,
                daysIntoProgram,
                pdfs,
                dashboardDialogs {
                    dialog {
                        name,
                        defaultJump,
                        type,
                        title,
                        attachment,
                        video,
                        videoThumbnail,
                        messages,
                        taskList {
                            id,
                            name
                            taskItems {
                                keyHash,
                                name,
                                isCompleted
                            }
                        }
                    }
                }
            }
        }
    }
  }
}

Last updated