Skip to main content
Docs · Security, data & AI

Quickstart: Publish a SCORM Course with the REST API

Updated

Using the older navigation? The workspace navigation guide maps Send, Measure, and Build to the existing pages and legacy labels.

Use the available Quick Publish REST endpoint to create a hosted SCORM package from structured slide content.

1. Create a sandbox workspace

Choose Start free on allureconnect.com. The sandbox does not require a credit card.

After signup, open Build → API keys. Copy the Account ID and create a test API key with New API key. Store the key in a server-side secret manager; never expose it in browser code or commit it to source control.

2. Publish structured content

bash
curl -X POST https://api.allureconnect.com/v1/quick-publish \
  -H "Authorization: Bearer $CONNECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Workplace Safety Training",
    "slides": [
      {
        "title": "Introduction",
        "content": "Welcome to the workplace safety training course."
      },
      {
        "title": "Fire Safety",
        "content": "- Know your nearest exit\n- Stay low in smoke\n- Follow the evacuation plan"
      },
      {
        "title": "Summary",
        "content": "Review your workplace emergency procedures before continuing."
      }
    ],
    "scorm_version": "2004"
  }'

A successful response includes the persisted package ID and package metadata:

json
{
  "package_id": "pkg_a1b2c3d4e5f6",
  "title": "Workplace Safety Training",
  "scorm_version": "2004",
  "slide_count": 3,
  "persisted": true
}

Treat the actual response as authoritative; additional fields may be present as the API evolves.

3. Verify activation

Open the returned package in the dashboard and complete a real launch before distributing it. A package publication is the activation milestone; account creation alone does not confirm that the integration works.

Available and preview integrations

  • GPT Actions uses the published OpenAPI schema.
  • The MCP server page documents an unavailable preview. The npm package is not currently published.
  • The REST API reference is the supported integration path.