Skip to main content

Getting Started

Refer to this API documentation to integrate AlphaLearn LMS with your application.

Endpoint

https://api.alphalearn.com/v3

The base URL is api.alphalearn.com followed by the version number of the API, currently at version 3.

Authorization

AlphaLearn API provides authorization token which can be passed in the HTTP Authorization Header using Bearer

Authorization: Bearer { Authorization Token }

Generate the JWT token

Pass these credentials (i.e email, password, and domain) in JSON format to authorize/login API which will return you the JWT token and Refresh token and user basic details.

info

JWT token is valid for 60 mins

Refresh token is valid for 90 days

If the token expires

Use authorize/refresh-token API using refreshToken as a POST parameter to regenerate the token.

If the refresh token has expired

Log out and call authorize/login API again.