EduCare
API Reference

List all teachers

Retrieve a paginated list of all teachers.

GET
/teachers

Authorization

BearerAuth
AuthorizationBearer <token>

Obtain your API key from the developer dashboard at https://dashboard.educare.com

In: header

Query Parameters

page?integer

Page number for pagination

Default1
Range1 <= value
per_page?integer

Number of items per page

Default20
Range1 <= value <= 100
search?string

Search term to filter results

department?string

Response Body

application/json

application/json

curl -X GET "https://api.educare.com/v1/teachers"
{
  "data": [
    {
      "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"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 150,
    "total_pages": 8
  }
}
{
  "error": "Invalid API key",
  "code": "UNAUTHORIZED",
  "status": 401
}