1. Create a new session by learner email and receive the access token.
Please, use your api-key to make a request. The API key can be found here →
POST /students/{email}/sessions
Body:
{
expireInDays: number // # of days the token will be active. By default, the value is 100
}
This method returns the following interface:
{
accessToken: string
expiresIn: number // in seconds
id: string // id of a learner
}
2. Create an access link to the platform interface with the following route:
{your_domain}/auth?accessToken={access_token_here}
An example of such a link: