EduCare
API Reference

Create an announcement

Create a new school or class announcement.

POST
/announcements

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

title*string
content*string
scope*string
Value in"school" | "class" | "grade_level"
class_id?integer
grade_level?string
priority?string
Value in"low" | "normal" | "high" | "urgent"
expires_at?string
Formatdate-time

Response Body

application/json

application/json

application/json

curl -X POST "https://api.educare.com/v1/announcements" \  -H "Content-Type: application/json" \  -d '{    "title": "Parent-Teacher Conference",    "content": "Parent-teacher conferences will be held on January 15th from 4 PM to 8 PM.",    "scope": "school"  }'
{
  "id": 3456,
  "title": "Winter Break Schedule",
  "content": "School will be closed from December 23rd to January 3rd. Classes resume January 6th, 2026.",
  "scope": "school",
  "class_id": null,
  "grade_level": null,
  "priority": "high",
  "author_id": 567,
  "published_at": "2025-12-15T09:00:00Z",
  "expires_at": "2026-01-06T08:00:00Z",
  "created_at": "2025-12-14T16:30:00Z"
}
{
  "error": "Validation failed: email is required",
  "code": "VALIDATION_ERROR",
  "status": 400
}
{
  "error": "Invalid API key",
  "code": "UNAUTHORIZED",
  "status": 401
}