ClaroDocs
Integrations

xAPI Overview

How Claro works as an xAPI-compliant Learning Record Store that your existing LMS can connect to.

xAPI Overview

xAPI (Experience API, also called Tin Can API) is an open e-learning specification that describes a standard way for learning software to record and exchange activity data. Every xAPI record follows the same Actor-Verb-Object pattern: "John Doe completed the Recognizing Phishing Emails module."

Claro implements xAPI as a Learning Record Store (LRS). Your existing LMS connects to Claro, launches Claro training modules for your learners, and sends xAPI statements back to Claro as learners progress. Claro stores those statements, uses them to mark assignments as complete, and can optionally forward them to a second external LRS at your organization.

The Architecture in Plain English

Most organizations already have a corporate LMS (Moodle, Cornerstone, SAP SuccessFactors, TalentLMS, or similar). The xAPI integration lets you embed Claro security awareness modules directly into that LMS without forcing learners to log in to a separate system.

Here is how the pieces fit together:

Your LMS                    Claro                         Your Corporate LRS
--------                    -----                         ------------------

Admin configures:           Built-in LRS endpoint         (Optional)
- LRS endpoint URL    -->   Receives all statements
- LRS key + secret          from Claro player
- Launch URL per module

Learner clicks module -->   Player loads module
                            Learner completes cards
                            Learner answers quizzes
                    <--     Sends xAPI statements     -->  Forwarded if configured
                            Marks assignment complete
                            Stores statement history

The flow step by step:

  1. A Claro admin creates an xAPI integration and gets LRS credentials (a key and secret)
  2. The admin generates a signed launch URL for each module they want to expose in the LMS
  3. The LMS is configured with those credentials and launch URLs
  4. When a learner clicks the module in the LMS, they are redirected to Claro's hosted player
  5. Claro renders the module directly - no separate login required for the learner
  6. As the learner progresses, the Claro player sends xAPI statements to Claro's LRS endpoint
  7. When a completion or pass/fail statement arrives, Claro marks the linked training assignment as complete
  8. If a forwarding LRS is configured, Claro forwards each statement there as well

What Data Claro Tracks

Claro generates xAPI statements for every meaningful event in the training player. These cover training modules only - phishing simulation events are tracked separately through Claro's campaign analytics and webhook integrations.

User ActionxAPI VerbWhen It Fires
Module opens in the playerattemptedFirst time the player loads for a learner
Learner advances to a cardprogressedEach card navigation
Learner answers a quiz questionansweredEach quiz question submission
Learner views all required cardscompletedFinal card reached
Quiz score meets the pass thresholdpassedComputed at completion
Quiz score falls below the thresholdfailedComputed at completion

Statement Storage

All received statements are stored in Claro's database associated with the integration that sent them. You can view statement history and launch records in Settings > xAPI for each integration.

Claro stores statements indefinitely within your tenant. If you delete an integration, its associated launch records and statements are soft-deleted and remain available for compliance reporting purposes.

Statement Forwarding

If your organization has a corporate LRS where all learning activity must be consolidated, you can configure Claro to forward each received statement to that LRS automatically.

Forwarding happens asynchronously via a background queue after Claro has already stored the statement. If the external LRS is temporarily unavailable, Claro retries delivery up to three times with exponential backoff. Failed forwarding attempts are logged in the delivery history.

Statement forwarding is optional. If you only need to track completion inside Claro and use the data for assignment marking and analytics within the platform, you do not need to configure an external forwarding target.

Supported LMS Platforms

Claro's xAPI integration follows the xAPI 1.0.3 specification and works with any LMS that can launch content via a signed URL and send xAPI statements using HTTP Basic Authentication. The platforms below have been tested and confirmed compatible:

LMS PlatformLaunch Method
Moodle (with xAPI plugin)External tool (LTI) or direct URL
TalentLMSExternal training activity
Cornerstone OnDemandxAPI content import
SAP SuccessFactors LearningAICC/xAPI URL launch
iSpring LearnExternal content link
Any xAPI 1.0.3-compliant LMSStandard HTTP Basic Auth + POST to LRS

Next Steps