Get current teacher profile
GET /teachers/me
GET
/teachers/me
Retrieves the teacher profile associated with the authenticated user
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”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
Resource not found
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Internal server error
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string