Skip to content

Student Login (SSO)

Endpoint used to request external authentication (SSO) to obtain an access token for a student in Toolzz LMS.

Terminal window
curl --request POST \
--url 'https://kong.api.toolzz.com.br/api/auth/sso' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "student@example.com",
"institution_code": "myinstitution"
}'
{
"token": "<string>",
"redirect_url": "<string>"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
emailstringEmail address of the user requesting login.Yes
institution_codestringThe institution subdomain (institution name in the URL).Yes
ParameterTypeDescriptionRequired
idstringID of the content to which the user will be redirected. If null, the user is redirected to the Home page.No
typestringType of content related to the ID. 1: Free Course. 2: Exclusive Course. 3: Trail. 4: Course Package. 5: Live.No

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.