Developer documentation
Schoolpedia Partner API
Integrate your own school app with Schoolpedia: create and manage your school's public listing programmatically.
Complete, always-in-sync API reference
Every endpoint, parameter, and schema is generated from the live API as an OpenAPI spec. Browse it interactively, or import it into Postman, Insomnia, or your code generator.
Postman / Insomnia: Import → Link, and paste https://api.edcomrade.com/api/v1/partner/docs.json
Introduction
The Schoolpedia Partner API lets schools and school groups that run their own custom software list and keep their schools up to date on the Schoolpedia directory, without manual data entry. You authenticate with an API key issued by the Pioneers team, then create and update the listings your organization owns.
The API is a server-to-server integration. Your API key is a secret and must only ever be used from your backend, never from a mobile app, browser, or any client a user can inspect.
Get an API key
Keys are issued manually after a short onboarding conversation, during which we verify that you represent the school(s) you want to manage. To request access:
- Use our contact page with your organization name, the school(s) you operate, and a technical contact.
- We create a partner organization for you and generate an API key.
- The key is shown once and shared with you over a secure channel.
Authentication
Send your key as a Bearer token on every request (an X-API-Key header is also accepted):
curl https://api.edcomrade.com/api/v1/partner/v1/me \
-H "Authorization: Bearer sk_live_your_key_here"Requests with a missing, malformed, revoked, or expired key (or a key belonging to a suspended partner) are rejected with 401 Unauthorized.
Base URL & responses
All endpoints live under this base URL:
https://api.edcomrade.com/api/v1/partner/v1Every successful response is wrapped in a standard envelope; your data is always under data:
{
"success": true,
"data": { /* ... */ },
"timestamp": "2026-10-12T10:00:00.000Z"
}Rate limits
The API is limited to 60 requests per minute per key. Exceeding it returns 429 Too Many Requests with a retryAfter value in seconds. Batch your updates rather than polling aggressively.
Scopes
Each key carries one or both scopes:
listings:readgrants read access to your listings.listings:writeallows creating and updating your listings.
Calling a write endpoint with a read-only key returns 403 Forbidden.
Listing lifecycle
Listings you create or edit publish immediately but start as UNVERIFIED, so they appear in the directory without a verified badge and without any search ranking boost. The Pioneers team reviews listings and grants verified status. You cannot set verification, featured status, or ranking yourself.
Field reference
Writable fields and their accepted values:
name,shortName,description,address,phone,email,websiteUrl,logoUrl: stringsregion,district,schoolType: stringsfoundedYear,enrolmentCount: integers;latitude,longitude: decimalsphotos: array of image URLscurriculum: any of GES, CAMBRIDGE, IB, MONTESSORI, BRITISH, AMERICAN, HYBRIDlevelsOffered: any of CRECHE, NURSERY, KINDERGARTEN, PRIMARY, JHS, SHS, TVET, TERTIARYfacilities: any of ICT_LAB, LIBRARY, CAFETERIA, MEDICAL_BAY, SMART_CLASSROOMS, INTERNET_ACCESS, SWIMMING_POOL, SCIENCE_LAB, SPORTS_FIELD, BOARDING_HOUSE, TRANSPORT, CHAPEL_MOSQUE
Sending an unknown field, or a protected one such as isVerified or isFeatured, returns 400 Bad Request.
Errors
Errors return a non-2xx status and a descriptive message:
400: invalid/unknown field, duplicate listing name401: missing, invalid, revoked, or expired key403: missing scope, or listing limit reached404: listing not found or not owned by you429: rate limit exceeded
Get current partner
/partner/v1/meReturns your partner identity, scopes, and listing limit. Useful to verify a key.
{
"partnerId": "abc123",
"partnerName": "Acme Education Group",
"scopes": ["listings:read", "listings:write"],
"maxListings": 5
}List listings
/partner/v1/listingsLists every school listing your organization owns.
Create a listing
/partner/v1/listingsCreates a new listing. It goes live immediately as UNVERIFIED. name is required; every other field is optional.
curl -X POST https://api.edcomrade.com/api/v1/partner/v1/listings \
-H "Authorization: Bearer sk_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Sunrise International School",
"region": "Greater Accra",
"district": "Tema",
"schoolType": "PRIMARY",
"curriculum": ["GES", "CAMBRIDGE"],
"levelsOffered": ["KINDERGARTEN", "PRIMARY", "JHS"],
"facilities": ["LIBRARY", "ICT_LAB", "SPORTS_FIELD"],
"email": "info@sunrise.edu.gh",
"websiteUrl": "https://sunrise.edu.gh",
"latitude": 5.6698,
"longitude": -0.0166
}'Retrieve a listing
/partner/v1/listings/:idFetches one of your listings. Requesting a listing you do not own returns 404 Not Found.
Update a listing
/partner/v1/listings/:idSend only the fields you want to change; omitted fields are left untouched.
curl -X PATCH https://api.edcomrade.com/api/v1/partner/v1/listings/LISTING_ID \
-H "Authorization: Bearer sk_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "description": "Updated description", "admissionsStatus": "OPEN" }'Job board
Post jobs against a listing you own and they appear on the public Schoolpedia careers feed. Candidates apply through Schoolpedia, and you read the applicants back through the API. Posting requires the listings:write scope.
Jobs are listed publicly by default. Set status to CLOSED (or listPublicly to false) to remove a job from the feed.
List jobs
/partner/v1/listings/:id/jobsReturns the job postings you have created on a listing.
Post a job
/partner/v1/listings/:id/jobsCreates a job on the listing. title is required. Salary values are in pesewas (1 GHS = 100 pesewas). employmentType is one of FULL_TIME, PART_TIME, CONTRACT, TEMPORARY, INTERNSHIP, VOLUNTEER.
curl -X POST https://api.edcomrade.com/api/v1/partner/v1/listings/LISTING_ID/jobs \
-H "Authorization: Bearer sk_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"title": "Mathematics Teacher",
"department": "Science",
"employmentType": "FULL_TIME",
"description": "Teach JHS mathematics.",
"requirements": "B.Ed or equivalent; 2+ years experience.",
"salaryRangeMinPesewas": 200000,
"salaryRangeMaxPesewas": 350000,
"deadline": "2026-12-31"
}'Update / close a job
/partner/v1/listings/:id/jobs/:jobIdEdit any field, or set the status to close the posting and remove it from the feed.
curl -X PATCH https://api.edcomrade.com/api/v1/partner/v1/listings/LISTING_ID/jobs/JOB_ID \
-H "Authorization: Bearer sk_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "status": "CLOSED" }'List applicants
/partner/v1/listings/:id/jobs/:jobId/applicantsReturns everyone who applied to a job, newest first.
[
{
"id": "app_123",
"firstName": "Ama",
"lastName": "Mensah",
"email": "ama@example.com",
"phone": "+233200000001",
"resumeUrl": null,
"status": "APPLIED",
"appliedAt": "2026-10-12T10:00:00.000Z"
}
]Security best practices
- Keep your key on the server. Never ship it in a mobile or web client.
- Store it in a secret manager or environment variable, not in source control.
- Use a read-only key for any system that only displays data.
- Rotate keys periodically, and immediately if one may have leaked. Contact us.
- All requests must use HTTPS.
Versioning
The API is versioned in the path (/partner/v1). Breaking changes ship under a new version, with notice before anything is deprecated. Questions or feedback? Get in touch.