API Reference
Record attendance
Submit an attendance record for a student.
Authorization
BearerAuth AuthorizationBearer <token>
Obtain your API key from the developer dashboard at https://dashboard.educare.com
In: header
Request Body
application/json
student_id*integer
class_id*integer
date*string
Format
datestatus*string
Value in
"present" | "absent" | "late" | "excused"notes?string
Response Body
application/json
application/json
application/json
curl -X POST "https://api.educare.com/v1/attendance" \ -H "Content-Type: application/json" \ -d '{ "student_id": 1234, "class_id": 890, "date": "2025-12-16", "status": "present" }'{
"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"
}{
"error": "Validation failed: email is required",
"code": "VALIDATION_ERROR",
"status": 400
}{
"error": "Invalid API key",
"code": "UNAUTHORIZED",
"status": 401
}