GET api/v1/logintokens/{id}
Get login token
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | Upskill user id. The id is obtained during learner enrolment |
Define this parameter in the request URI. |
Response Information
One time login token returned. The token can be used for seamless user redirection from third-party website to Upskill landing page. Once used, the token gets invalidated and cannot be used again.
Response body formats
application/json, text/json
Sample:
{
"data": "sample string 1",
"errors": {
"messages": [
"sample string 1",
"sample string 2",
"sample string 3"
]
}
}