In ASAP, you can use Open API to interact with third-party solutions. Open API works via HTTP and offers a set of request/response methods.
API requests must be sent to the following address:
<URL of the ASAP portal, which is used to interact via Open API>/openapi/<API version>/<request>
How to get the ASAP URL, which is used to interact via the API
To get an ASAP Open API URL:
How to enable access via the API and generate a token
To authorize requests, they must be signed by a token created on the ASAP platform. Only the company's administrators can create tokens.
To create a token:
The Get token window opens.
The token is not stored in the ASAP system with public access. After closing the Get token window, it will be unavailable to view. If you closed this window without copying the token, you need to click New token again for the system to generate a new token.
The issued token is valid for 12 months. When this period expires, the token is revoked. The issued token is also revoked if it is not used for 6 months.
Authorization
The token obtained on ASAP needs to be added to the headers of all API requests. The header should look like this:
|
Response format
JSON is the default format for responses to API requests.
Example of a CURL call
Below is an API request to https://domain.com/, which uses the "GET openapi/v1/groups" method (get a list of groups). The request authenticates using the token e8c699c05d495566a94bbb6841894153
.
|
ASAP Open API methods used to integrate with learning management systems (LMSs)
Available methods of integrating with learning management systems:
Each method supports no more than 10 requests per second (RPS).