EduCare
API Reference

List attendance records

Retrieve attendance records with filtering options.

GET
/attendance

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
class_id?integer
date?string
Formatdate
status?string
Value in"present" | "absent" | "late" | "excused"

Response Body

application/json

application/json

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