Skip to main content
Sema Schools

Public endpoints

Endpoints that need no sign-in and no API key.

These endpoints need no Authorization header. Most are rate limited by IP — see Rate limits — and read endpoints are CDN-cacheable, so don't assume you're seeing a live database read on every request.

School directory

GET /api/v1/platform/schools/search?q=<2-100 chars>&limit=<1-10, default 10>

Name/city search over schools that opt in to being found this way. Returns each school's slug, name, city, region, logo_url and login_url.

curl "https://semaschools.com/api/v1/platform/schools/search?q=asante"
{
  "results": [
    {
      "slug": "asante",
      "name": "Asante Hills Academy",
      "city": "Kumasi",
      "region": "Ashanti",
      "logo_url": null,
      "login_url": "https://asante.semaschools.com/login"
    }
  ]
}

GET /api/v1/platform/tenant/resolve?host=<host> — resolve a host to its public branding (logo, theme, available sign-in methods). 404 (platform.tenant.not_found) when the host isn't a known school. Used by our own tenant app to render a school's login page; useful if you're embedding a "find my school" flow.

GET /api/v1/platform/schools?limit=12&cursor=<next_cursor> — list the verified schools on the platform without a search term, in pages of up to 24. next_cursor is null on the last page. Shares the school search limit of 60 per minute per IP.

Demo requests

POST /api/v1/platform/demo-requests — submit a request for a product demo. Limited to 5 per hour per IP.

curl -X POST https://semaschools.com/api/v1/platform/demo-requests \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Ama Mensah",
    "school_name": "Bright Future School",
    "role": "head",
    "phone": "0241234567",
    "email": "[email protected]",
    "students_estimate": "301-600",
    "message": "We want fees and report cards first."
  }'

role is one of owner, head, administrator, accountant, teacher, parent, other. students_estimate is one of 1-100, 101-300, 301-600, 601-1000, 1000+. Returns 201 with {"id": "<uuid>"}.

Help centre and blog content

Read-only access to published help articles and blog posts, on each school's host (help centre) or the main site (blog):

  • GET /api/v1/content/{collection}/articles — list published articles. collection is help or blog. Supports category, tag, author, audience filters and cursor pagination.
  • GET /api/v1/content/{collection}/articles/{slug} — one article. Returns 301 to the current slug if it moved, 404 if it doesn't exist.
  • GET /api/v1/content/{collection}/categories — categories with published article counts.
  • GET /api/v1/content/tags — every tag.
  • GET /api/v1/content/authors/{slug} — an author profile.
  • GET /api/v1/content/help/search?q=<2-100 chars>&limit=<1-20, default 10> — full-text help search, falling back to typo-tolerant title matching.
  • POST /api/v1/content/help/articles/{slug}/feedback — record whether an article helped ({"helpful": true|false, "comment": "..."}, comment optional). Anonymous; 10 per hour per IP.
curl "https://semaschools.com/api/v1/content/help/articles?limit=2"
{
  "items": [
    {
      "id": "01a0e02c-5ee0-743d-8eff-bae5a1d815ab",
      "collection": "help",
      "slug": "switch-between-your-childrens-schools",
      "title": "Switch between your children's schools",
      "excerpt": "One sign-in covers every school your children attend.",
      "category": { "id": "...", "slug": "parents-and-guardians", "name": "Parents and guardians" },
      "tags": [{ "id": "...", "slug": "parents", "name": "Parents" }],
      "authors": [{ "id": "...", "slug": "product-team", "name": "Sema Schools team", "role_title": "Product", "avatar_url": null }],
      "audience": "parents",
      "reading_minutes": 1,
      "published_at": "2026-09-27T00:03:19.351Z",
      "updated_at": "2026-09-27T00:03:20.573Z"
    }
  ],
  "next_cursor": null
}