GET /scorm/sessions/:sessionId
GET /scorm/sessions/:sessionId
SCORM API URL localhost:3001'; GET /api/scorm/sessions/[sessionId] - Get SCORM session data Validate UUID format Verify authentication Get user profile for tenant_id Forward request to SCORM API Add API key if configured (for production SCORM API) Optionally pass tenant_id as query param if SCORM API requires it Verify session belongs to user's tenant (security check) Check if it's a connection error
Endpoint
GET /scorm/sessions/:sessionId
Authentication
This endpoint requires authentication. Include your authentication token in the request headers.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
sessionId | string | Path parameter |
Error Responses
| Status Code | Error Code | Description |
|---|---|---|
| 400 | HTTP_400 | Bad Request |
| 401 | HTTP_401 | Unauthorized |
| 404 | HTTP_404 | Not Found |
| 403 | HTTP_403 | Forbidden |
| 503 | HTTP_503 | Error |
| 503 | HTTP_503 | Error |
| 500 | HTTP_500 | Internal Server Error |
Example Request
curl -X GET "https://api.allurelms.com/scorm/sessions/sessionId-value" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"