Skip to content

API and integrations

Updated 13 Jul 2026

API documentation should rely on generated artifacts from knowspread, but it should not stop at schema descriptions. Integrators also need scenarios, order of operations, idempotence, errors, and product impact.

SourceUse
swagger/rest/v1/swagger.yamlOpenAPI contract for the public REST API.
spec/rest/v1/*Specs as evidence of expected behavior.
app/controllers/rest/v1/*Real implementation.
app/serializers/*Response shape and field naming.
  • Authentication
  • Users
  • Groups
  • Content
  • Learning events
  • Webhooks
  • Error handling
  • Rate limits and retry strategy
AreaPurpose
AuthenticationGet a Bearer JWT token via client credentials.
UsersManage users in a company space.
User GroupsGroups, membership, and assigned content.
Company SpaceBasic information about the space.
ContentsOwn content and blended learning content.
Learning EventsEvents and their days.
Content ParticipationsStudy reporting and certificates.
WebhooksOutgoing notifications toward the client.

The detailed contract is generated by rswag into knowspread/swagger/rest/v1/swagger.yaml.