Skip to content

Search Students by Email or CPF

Endpoint used to query the data of a student registered in your institution in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/admin/users/getUserInformation?by=email&value=student@example.com' \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 1,
"uuid": "<string>",
"name": "<string>",
"email": "<string>",
"cpf": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"ultima_atividade": "<string>",
"school": {
"id": 1,
"titulo": "<string>"
},
"address": {
"id": 1,
"address_id": 1,
"cep": "<string>",
"uf": "<string>",
"cidade": "<string>",
"bairro": "<string>",
"logradouro": "<string>",
"numero": "<string>",
"complemento": "<string>"
},
"custom_form": [
{
"enunciado": "<string>",
"pergunta_id": 1,
"resposta": "<string>"
}
],
"institution": [
{
"id": 1,
"subdomain": "<string>",
"titulo": "<string>"
}
]
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
bystringTwo possible values: "email" or "cpf", which the system will use to search for the user.Yes
valuestringEmail or CPF of the desired user, according to the value set in by.Yes

KeyTypeDescription
dataobjectUser profile details.
data.idnumberUnique identifier of the user.
data.uuidstringUniversal Unique Identifier (UUID) of the user.
data.namestringFull name of the user.
data.emailstringUser email address.
data.cpfstringUser’s CPF.
data.created_atstringDate and time the user was created.
data.updated_atstringDate and time of the last profile update.
data.ultima_atividadestringDate and time of the user’s last activity.
data.schoolobjectSchool information.
data.school.idnumberUnique identifier of the school.
data.school.titulostringSchool name.
data.addressobjectUser address details.
data.address.idnumberUnique identifier of the address.
data.address.address_idnumberAddress reference ID.
data.address.cepstringZIP code.
data.address.ufstringState abbreviation.
data.address.cidadestringCity name.
data.address.bairrostringNeighborhood name.
data.address.logradourostringStreet name.
data.address.numerostringResidence or apartment number.
data.address.complementostringAddress complement (e.g., apartment, floor).
data.custom_formarrayList of custom questions and answers.
data.custom_form.enunciadostringQuestion statement.
data.custom_form.pergunta_idnumberUnique identifier of the question.
data.custom_form.respostastringUser’s answer to the question.
data.institutionarrayList of institutions associated with the user.
data.institution.idnumberUnique identifier of the institution.
data.institution.subdomainstringInstitution subdomain.
data.institution.titulostringInstitution name.

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.