Skip to main content
Sema Schools

Build on the API

Base URLs, request/response format and versioning for the Sema Schools API.

The Sema Schools API is a JSON HTTP API used by our own tenant, admin and marketing apps, and available to schools' IT staff and third-party integrators for read-only and account tasks documented in this section.

Base URLs

The same API is served at /api/v1 on every host. Which host you call depends on whether the request is scoped to a school:

You're callingHostExample
Something scoped to one school (sign-in, that school's content)the school's own subdomainhttps://asante.semaschools.com/api/v1/auth/login
Something that doesn't need a school yet (school search, a demo request)the main sitehttps://semaschools.com/api/v1/platform/schools/search

A school's subdomain is its slug — the same value returned by school search and used in its login URL.

Requests and responses

Send and receive application/json. Every response carries an X-Request-ID header (echoed from your own X-Request-ID if you send one, otherwise generated) — include it when reporting an issue. See Errors for the failure shape.

Versioning

The API is versioned in the URL path: /api/v1. Backward-compatible changes (new fields, new endpoints) ship into /api/v1 without notice — don't fail on fields you don't recognise. Breaking changes ship as a new /api/v2 path alongside the existing one; /api/v1 keeps working until we tell you otherwise.

What's here