Endpoints
Health check: database, queue and cache state.
Machine-readable service summary (JSON).
Create a school, its admin user and a trial subscription.
Email/password sign-in, isolated to the requesting tenant.
The authenticated user (requires a bearer token).
The current user, resolved from the Host header alone.
Public information for the school on this host.
Plan, limits and renewal date for this school.
Update colours and logo for this school.
Try it
curl https://api.shuleflow.brevansoftwares.co.ke/health
curl -X POST https://api.shuleflow.brevansoftwares.co.ke/api/v1/signup/trial \
-H "Content-Type: application/json" \
-d '{"school_name":"Test School","full_name":"Grace Wanjiku", \
"email":"grace@testschool.ac.ke","password":"correct-horse-battery", \
"accept_terms":true}'
curl https://api.shuleflow.brevansoftwares.co.ke/api/v1/auth/me \
-H "Authorization: Bearer YOUR_TOKEN"