For the complete documentation index, see llms.txt. This page is also available as Markdown.

Schools

List the schools of a district

get
Required scopes
This endpoint requires the following scopes:
  • : Read schools
Authorizations
OAuth2clientCredentialsRequired

OAuth 2.0 Client Credentials. Exchange your client_id/client_secret at the token URL for a short-lived Bearer token, then call the API with it.

Token URL:
Path parameters
district_idintegerRequired
Query parameters
filter[nces_school_id]stringOptional
sortstringOptional

Comma-separated; prefix with - for descending. Allowed: name, created_at.

page[number]integerOptional
page[size]integer · max: 100Optional
Responses
200

schools listed

application/json
metaobjectOptional
linksobjectOptional
get/api/v2/districts/{district_id}/schools
GET /api/v2/districts/{district_id}/schools HTTP/1.1
Host: api.masteryconnect.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "data": [
    {
      "id": "text",
      "type": "text",
      "attributes": {},
      "relationships": {}
    }
  ],
  "meta": {},
  "links": {}
}

Fetch a school in a district

get
Required scopes
This endpoint requires the following scopes:
  • : Read schools
Authorizations
OAuth2clientCredentialsRequired

OAuth 2.0 Client Credentials. Exchange your client_id/client_secret at the token URL for a short-lived Bearer token, then call the API with it.

Token URL:
Path parameters
district_idintegerRequired
idintegerRequired
Responses
200

school found

application/json
dataobjectOptional
get/api/v2/districts/{district_id}/schools/{id}
GET /api/v2/districts/{district_id}/schools/{id} HTTP/1.1
Host: api.masteryconnect.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "data": {}
}

Last updated

Was this helpful?