Skip to content

Getting started

Calling the API

API url

The base url for all public APIs is https://api.knolyx.com. In the following pages, the next convention will be used:

Header: Value
Another-Header: Value

[GET|POST|PUT|DELETE] /endpoint

The final url should be https://api.knolyx.com/endpoint.

Authentication

To authenticate, every request should send two headers: X-Project-Id and X-Api-Key. The values will be provided by knolyx.

Permissions

Depending on the required use case, the api key may have the following permissions:

PermissionDescription
USER_PROVISIONAllows the api to create new users
WORKGROUP_ADD_MEMBERAllows the api to append an user to an existing group
WORKGROUP_REMOVE_MEMBERAllows the api to remove an user to an existing group
WORKGROUP_LISTAllows the api to list all available groups
COURSE_LISTAllows the api to list available courses
COURSE_GETAllows the api to get specific info about a course
WEBHOOK_MANAGEAllows the api to manage webhooks
BUSINESS_RULE_MANAGEAllows the api to manage rules, which allows access to courses
ADMIN_MANAGEAllows the api to edit the organization, theme settings, sso
PAYMENT_INFO_READAllows the api to read payment info
RESOURCE_LISTAllows the api to list all resources
RESOURCE_GETAllows the api to get specific resource details
COMMUNITY_READAllows the api to read info about community
EVENT_READAllows the api to read event details
EVENT_MANAGEAllows the api to manage events

The permissions assigned to the api key can only be changed by Knolyx. Please contact us if further changes are needed.

Testing the API

The api can be tested using openapi.