EduCare
API Reference

Get student attendance records

Retrieve attendance records for a specific student.

GET
/students/{id}/attendance

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*integer

Query Parameters

start_date?string
Formatdate
end_date?string
Formatdate
class_id?integer

Response Body

application/json

application/json

application/json

curl -X GET "https://api.educare.com/v1/students/0/attendance"
{
  "student_id": 0,
  "records": [
    {
      "id": 9012,
      "student_id": 1234,
      "class_id": 890,
      "date": "2025-12-15",
      "status": "present",
      "notes": "Arrived 5 minutes early",
      "recorded_at": "2025-12-15T10:05:00Z"
    }
  ],
  "summary": {
    "total_days": 0,
    "present": 0,
    "absent": 0,
    "late": 0,
    "excused": 0,
    "attendance_rate": 0.1
  }
}
{
  "error": "Invalid API key",
  "code": "UNAUTHORIZED",
  "status": 401
}
{
  "error": "Student not found",
  "code": "NOT_FOUND",
  "status": 404
}