---
title: "Create School"
method: POST
path: "/admin/schools/"
tags: ["Admin - Schools"]
---

# Create School

`POST /admin/schools/`

Create a new school entry.
Only accessible by admin users.

## Request body

- SchoolCreateRequest — Request model for creating a school
  - `name` string, required
  - `email_domain` string, nullable
  - `french_school_id` string, nullable
  - `contact_email` string, email, nullable
  - `contact_name` string, nullable
  - `phone_number` string, nullable
  - `address` string, nullable
  - `city` string, nullable
  - `max_teachers` integer, nullable
  - `max_students` integer, nullable
  - `notes` string, nullable
  - `expected_teachers` string[], nullable

## Response `200`

Successful Response

- SchoolResponse — Response model for school
  - `id` string, required
  - `name` string, required
  - `email_domain` string, nullable
  - `uai` string, nullable
  - `french_school_id` string, nullable
  - `french_school_name` string, nullable
  - `contact_email` string, email, nullable
  - `contact_name` string, nullable
  - `phone_number` string, nullable
  - `address` string, nullable
  - `city` string, nullable
  - `contract_type` 'free' | 'pilot' | 'paid' | 'expired', required
  - `contract_start_date` string, date-time, nullable
  - `contract_end_date` string, date-time, nullable
  - `max_teachers` integer, nullable
  - `max_students` integer, nullable
  - `notes` string, nullable
  - `expected_teachers` string[]
  - `created_by` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `current_contract_id` string, nullable
  - `current_contract_status` 'active' | 'upcoming' | 'ended', nullable
  - `teacher_count` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
