Skip to content
Login

Tracking

Tracking are objects that store learner progress. Using the API, you can fetch tracking objects for your courses and learners.

Get trackings
Requires Headless course creation

GET /api/v1/headless/trackings

Use this endpoint to get tracking objects.

Query parameters

FieldTypeDescriptionRequiredDefaultOptions
idintegerCourse IDYes N/A N/A
identifierstringFilter to trackings associated with this identifierNo N/A N/A
clientIdentifierstringFilter to trackings associated with this clientIdentifierNo N/A N/A
startFilter to tracking created after this dateNo N/A N/A
endFilter to tracking created before this dateNo N/A N/A
completedReturn completed trackings onlyNo N/A N/A
pageintegerWhich page of items to display, starting with zeroNo N/A N/A
lengthintegerItems per page (0-100)No N/A N/A

Examples

curl -X GET "https://api.coassemble.com/api/v1/headless/trackings?id=1234&identifier=user123&clientIdentifier=client456&page=0&length=50" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Get tracking
Requires Headless course creation

GET /api/v1/headless/tracking/:id

Use this endpoint to get a specific tracking object by ID. This endpoint requires headless authoring access.

Delete tracking

DELETE /api/v1/headless/tracking

Use this endpoint to delete a tracking object by course ID and identifier.

FormData properties

FieldDescriptionRequired
idID of the CourseYes
identifierIdentifier of the TrackingYes

Examples

curl -X DELETE "https://api.coassemble.com/api/v1/headless/tracking" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d "id=1234&identifier=user123"