e-Schooling API
  1. sso
e-Schooling API
  • e-Schooling API
  • GETTING STARTED
    • Authorization
    • Defaults
  • entities
    • Gets all system entities
      GET
    • Gets a entity from its id
      GET
  • students
    • Gets all system students
      GET
    • Gets a student from its id
      GET
  • tutors
    • Gets all system tutors
      GET
    • Gets a tutor from its id
      GET
  • staffs
    • Gets all system staffs
      GET
    • Gets a staff from its id
      GET
  • teachers
    • Gets all system teachers
      GET
    • Gets a teacher from its id
      GET
  • system
    • Obtain tenant informations
      GET
  • sso
    • Single Sign-On
    • Generate OAuth2 Token
      POST
    • Get user info
      GET
  • Schemas
    • Schemas
      • BadRequestHttpException
      • EntitiesAddresses
      • EntitiesContacts
      • EntityBankAccount
      • EntitiesList
      • EntityIdentificationDocument
      • Entity
      • HttpStatusCode
      • InternalServerErrorHttpException
      • MethodBase
      • EntityIdentificationDocumentInsertRequest
      • NotFoundHttpException
      • NoContent
      • EntityInsertRequest
      • OAuthMeResponse
      • OAuthTokenResponse
      • ProblemDetails
      • Staff
      • StaffIdentificationDocumentInsertRequest
      • StaffInsertRequest
      • StaffsList
      • Student
      • StudentIdentificationDocumentInsertRequest
      • StudentInsertRequest
      • StudentsList
      • SystemStatus
      • Teacher
      • TeacherIdentificationDocumentInsertRequest
      • TeacherInsertRequest
      • TeachersList
      • Tutor
      • TutorIdentificationDocumentInsertRequest
      • TutorInsertRequest
      • TutorsList
  1. sso

Get user info

Sandbox server
https://api-sandbox.e-schooling.com
Sandbox server
https://api-sandbox.e-schooling.com
GET
/api/oauth2/me
  • Method to get user information with OAuth2
  • Further documentation about the OAuth2 flow details click here

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or

Responses

🟢200OK
application/json
OK
Body

🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sandbox.e-schooling.com/api/oauth2/me' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "email": "user@user.user",
    "tenant_id": "8e8fd459-071a-4746-9758-ceff5f752680"
}
Modified at 2025-04-09 14:10:01
Previous
Generate OAuth2 Token
Next
BadRequestHttpException
Built with