Skip to content

Get current teacher profile

GET
/teachers/me

Retrieves the teacher profile associated with the authenticated user

Teacher profile retrieved successfully

object
success
boolean
true
data
Array<object>
object
teacher_id
required

Unique identifier for the teacher

integer
teacher_name
required

Name of the teacher

string
email
required

Email address of the teacher

string format: email
used_resources

Number of resources currently used by the teacher

integer
total_resources

Total number of resources allocated to the teacher

integer

Unauthorized - authentication required

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: UNAUTHORIZED

Resource not found

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: NOT_FOUND

Internal server error

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: INTERNAL_SERVER_ERROR