Konstantly API
Welcome to the Konstantly API documentation. This API allows you to programmatically manage users, courses, groups, certificates, and more in your Konstantly learning management platform.This is a beta version of the API documentation. Report any errors to support@konstantly.com
Base URL
All API requests should be made to:YOURSITE with your Konstantly subdomain. If your site uses a custom domain (for example learn.example.com), use https://learn.example.com/api/v1.
Authentication
The Konstantly API uses API keys to authenticate requests. Include your API key in theX-API-KEY header:
- Go to your Konstantly site
- Navigate to Settings > API
- Copy your API key
401:
Request Format
The API accepts JSON-encoded request bodies and returns JSON-encoded responses. Include these headers:Pagination
Many endpoints return paginated results. By default, endpoints return 20 items per page. Use theoffset and limit parameters to paginate:
User IDs
Endpoints that take a user ID, in the path or in auserId or users body field, accept either the Konstantly user ID (the numeric id returned by Get Users) or your own user ID (the id you set when creating the user). The value is resolved like this:
- A plain number (digits only, no leading zero, at most
2147483647) is the Konstantly user ID when a user with that ID exists. - Any other value, or a number with no such user, is your own user ID: an exact match first, then a case-insensitive match when exactly one user matches.
id that reads as a Konstantly user ID.