Skip to content

Institution APIv2026-09-14

API Reference

All endpoints live under https://serverless.grout.app/v1 and are scoped to the institution that issued the key. Responses are JSON envelopes: { "success": true, "data": … } or { "success": false, "error": "<code>", "message": "…" }. List endpoints paginate with ?page&limit (limit ≤ 200) and return { items, page, limit, total, totalPages }. Every response carries X-Request-Id and rate-limit headers.

Interactive explorer: Swagger UI · machine-readable: openapi.json.

Authentication

cURL
curl https://serverless.grout.app/v1/me \
  -H "Authorization: Bearer grt_live_YOUR_KEY"

Create keys in the portal under Institution → Developers → API keys, or on the developer dashboard. See API Keys & Scopes.

Resources

Scopes

ScopeGrants
students:readList and read student accounts
students:writeCreate, update, suspend student accounts
faculty:readList and read faculty accounts
faculty:writeCreate and update faculty accounts
groups:readList groups and their members
groups:writeCreate groups and manage membership
licenses:readRead licenses, expiry and registered devices
licenses:writeRevoke or extend licenses, revoke devices
exams:readList and read exams, assignments and analytics
exams:writeCreate, update, publish, assign exams; manage GroutCode exam files
submissions:readRead submissions, scores and proctoring event feeds
submissions:writeGrade, request resubmission, void submissions
coupons:readRead coupon batches and redemptions
coupons:writeRequest coupon batches
merits:readRead merit wallet balances and ledgers
merits:writeCredit merits to institution accounts
guardians:readRead guardian links and reports
guardians:writeInvite and remove guardians
alpha:readRead Alpha Learning enrollments, mastery and points
alpha:writeEnroll students and award Alpha points
institution:readRead institution profile and integration config
institution:writeUpdate integration config
webhooks:readList webhook endpoints, deliveries and events
webhooks:writeCreate and manage webhook endpoints, replay deliveries
sso:writeMint single sign-on launch tokens for students and faculty