API Reference
Get a teacher by ID
Authorization
BearerAuth AuthorizationBearer <token>
Obtain your API key from the developer dashboard at https://dashboard.educare.com
In: header
Path Parameters
id*integer
Response Body
application/json
application/json
application/json
curl -X GET "https://api.educare.com/v1/teachers/0"{
"id": 567,
"name": "Dr. Sarah Chen",
"email": "sarah.chen@educare.com",
"department": "Science",
"subjects": [
"Physics",
"Chemistry"
],
"phone": "+1-555-222-3333",
"office_room": "B-204",
"hire_date": "2018-08-15",
"created_at": "2018-08-15T09:00:00Z",
"updated_at": "2025-11-20T16:45:00Z"
}{
"error": "Invalid API key",
"code": "UNAUTHORIZED",
"status": 401
}{
"error": "Student not found",
"code": "NOT_FOUND",
"status": 404
}