All Resources
Getting Started

Launching Your First xAPI Integration

· 6 min read · Sereni LRS Team

Why xAPI, and Why Sereni LRS

xAPI (Experience API) lets any learning application — an LMS, a mobile app, a simulation, or a custom tool — describe what a learner did as a simple, structured statement: an actor, a verb, and an object. Sereni LRS is the record store that receives, validates, and makes sense of every one of those statements.

Unlike SCORM, xAPI isn't tied to a course player, so you can track learning wherever it happens. This guide walks through connecting your first source system to Sereni LRS and confirming data is flowing correctly.

Step 1 — Create Your API Key

From your Sereni LRS dashboard, open Settings → API Keys and generate a new key scoped to a Store. Keep this key secret — it authenticates every statement your application sends.

Step 2 — Send Your First Statement

Post a single xAPI statement to the ingestion endpoint to confirm connectivity:

curl -X POST https://api.serenilrs.com/xapi/statements \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "actor": { "mbox": "mailto:[email protected]" },
    "verb": { "id": "http://adlnet.gov/expapi/verbs/completed" },
    "object": { "id": "https://acme.com/courses/safety-101" }
  }'

Step 3 — Validate in the Statement Explorer

Open the Statement Explorer inside Sereni LRS and search by actor or activity ID. You should see your test statement within seconds, along with its validation status and full JSON payload.

Step 4 — Go Live

Once your integration is sending statements reliably, switch to a production API key, point your traffic at your live Store, and set up a dashboard to monitor ingestion volume. From here, every learning interaction becomes part of your analytics.

Ready to Get More from Your Learning Data?

Discover how Sereni LRS helps you capture, understand, and act on learning data through enterprise-grade analytics, flexible reporting, and a modern xAPI experience.

See Sereni LRS in Action