kapi WorksDocs

API reference

Every operation, parameter, response and field, generated from the OpenAPI contract the API serves.

The reference pages are generated from the same contract the API serves at https://api.kapiworks.com/v1/openapi.json, during each release of these docs. Download it to generate a client or to diff one revision against another. This is contract revision 1.2.0.

Base URL

https://api.kapiworks.com/v1

Every endpoint answers GET and HEAD over HTTPS, with JSON. Send the company API key in the Authorization header; see Authentication.

Operations

EndpointReturnsScope
GET /v1/training-recordsTraining records at a momenttraining:read
GET /v1/training-records/periodEvery training record owed during a periodtraining:read
GET /v1/certificatesCertificates at a momentcertificates:read
GET /v1/peopleEmployees and invitations during a periodpeople:read
GET /v1/coursesCourse versions referenced by employee recordstraining:read
GET /v1/snapshotCheck whether anything changedAny

Every response

  • X-Request-Id: a UUID for this call. Quote it to support.
  • Cache-Control: no-store: responses hold company data, so nothing on the way may store them.
  • RateLimit-Policy and RateLimit: your remaining calls this minute, for the key and for the company. See Rate limits.

Errors are application/problem+json with a stable code; see Errors.

Paged registers

Registers answer one page at a time, with the same envelope: data, total, snapshot and next_cursor. Follow next_cursor until it is null; Keeping data in sync explains how.

The field dictionary explains every field of every register.

On this page