Skip to main content

🎯 Learning Path CTA Reference

The API provides Call to Action (CTA) objects, which define the actions a user is allowed to perform on a specific Learning Path. These CTAs are dynamic and depend on the user’s current learning state — including enrollment, completion status, score, and access eligibility. Each CTA includes all the necessary argument values required to perform its respective action. The purpose of the action is determined by the actionId.
CTA shows that the corresponding mutation or query can be executed by the current API user, but doesn’t trigger any actions by itself.

📌 Available CTA Types

CTA action IDCorresponding query/mutationDescription
VIEW_LPgetLearningPath, exampleGrants access to view the Learning Path.
ENROLL_LPcreateLpIndividualMembershipAllows to self-register to the Learning Path.
LOGIN_AND_ENROLL_LPcreateLpIndividualMembershipAvailable only for anonymous users and will be returned if the training visibility is set to “Limited availability for anonymous users”. Authentication is required to execute the mutation.
CREATE_LP_ATTEMPTcreateLpAttemptAllows to create a new attempt for the Learning Path. This action is typically available when a user is allowed or required to retake the training from the beginning.
TAKE_EDGEgetLearningPathContentDataAllows to start a module or activity. Used for navigation between the learning path steps.
RESTART_EDGErestartContentAttemptAllows the to restart a specific module if it was failed, clearing previous answers.
REVIEW_EDGEgetLearningPathContentData, exampleAllows the user to review an activity they have already completed, including their submitted answers. Query should be executed with parameter navigationMode: REVIEW.
RESULTS_EDGEgetLearningPathContentData, exampleProvides access to the results of an edge (e.g., quiz or evaluation outcome).
EVALUATE_LPcreateLearningPathEvaluationSubmissionAllows submission of a Learning Path evaluation. This action is available only after the user has completed the Learning Path
BACK_TO_LP_HP-Optional CTA; indicates that the user can return to the Learning Path homepage after viewing results or reviewing a module. It doesn’t represent any mutation or query.
TOGGLE_BOOKMARKtoggleBookmarkAllows users to add or remove bookmarks for learning paths. The CTA title dynamically changes between “Add to bookmarks” and “Remove from bookmarks” based on current bookmark status.
I