The Knowledge Anywhere Public API is provided to you in order to assist you in provisioning users and connect external applications to the Knowledge Anywhere LMS.
Use our version 2 of Public APIs to enjoy these benefits:
- Start using newly released endpoints, e.g. pulling up all of a learner's training records or a specific course record
- Take advantage of up-and-coming API endpoints
- Faster response time
To transition from an existing v1 call to a v2 call, all that's needed is to append the v2 end point to your main LMS domain. For example, if your LMS domain is MyTrainingCenter.KnowledgeAnywhere.com, then to fetch a user from the LMS, make the following call:
To see the full list of end points, access the Swagger v2 spec by adding this bit to your main LMS domain: /api/swagger/index.html
Before your organization can start making calls to our Public API, security keys will need to be generated.
Authentication - Generate API Keys
The API expects a
Authorization header containing a bearer token to be sent with each request to the API. In order to properly authorize with the API you will need to sign into your LMS's admin pane and obtain your client (audience) and secret keys under the Site section.
Admin > Site > Public API Keys
You will need to enter two pieces of information in order to generate the API Keys.
- Site Name: Name or description of your application. Ex: company or product name.
- URL: This is the URL from where you will be making the API calls.
Once that information is create, your Client and Secret API Keys will be generated. You will need this information to get your bearer token.
Knowledge Anywhere suggests downloading and using Postman to make test API requests.
All requests should post to the token endpoint, click here to see an example.
See more details on how to make use our Public API for the endpoints below by viewing our Swagger Spec
For more information, check out the swagger spec.
By using Knowledge Anywhere's Public API, you are accepting our Terms of Service.
Please sign in to leave a comment.