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 { Athorization Token }

Generate recaptchatoken

Use the following Google Site Key:

6LeeraIgAAAAACGmoqQ3upFj5ts3xK9V9grsjU4K

Refer the process mentioned here:

https://developers.google.com/recaptcha/docs/v3#programmatically_invoke_the_challenge

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/refreshtoken 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.