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 historyThe flow step by step:
- A Claro admin creates an xAPI integration and gets LRS credentials (a key and secret)
- The admin generates a signed launch URL for each module they want to expose in the LMS
- The LMS is configured with those credentials and launch URLs
- When a learner clicks the module in the LMS, they are redirected to Claro's hosted player
- Claro renders the module directly - no separate login required for the learner
- As the learner progresses, the Claro player sends xAPI statements to Claro's LRS endpoint
- When a completion or pass/fail statement arrives, Claro marks the linked training assignment as complete
- 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 Action | xAPI Verb | When It Fires |
|---|---|---|
| Module opens in the player | attempted | First time the player loads for a learner |
| Learner advances to a card | progressed | Each card navigation |
| Learner answers a quiz question | answered | Each quiz question submission |
| Learner views all required cards | completed | Final card reached |
| Quiz score meets the pass threshold | passed | Computed at completion |
| Quiz score falls below the threshold | failed | Computed 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 Platform | Launch Method |
|---|---|
| Moodle (with xAPI plugin) | External tool (LTI) or direct URL |
| TalentLMS | External training activity |
| Cornerstone OnDemand | xAPI content import |
| SAP SuccessFactors Learning | AICC/xAPI URL launch |
| iSpring Learn | External content link |
| Any xAPI 1.0.3-compliant LMS | Standard HTTP Basic Auth + POST to LRS |