Identity & OTP
/auth/request-otp and /auth/verify-otp should rate-limit requests, bind challenges to the intended account action and never log raw OTP codes.
Education separates account identity, learning progress, community content, AI context and purchase entitlement state so the client can stay fast without turning local UI flags into authority.
The core API is available below https://amir-os.com/datagram/education/api. These routes describe the public client boundary. Private service topology, credentials and privileged administration routes are intentionally not exposed here.
/auth/request-otp and /auth/verify-otp should rate-limit requests, bind challenges to the intended account action and never log raw OTP codes.
/me returns safe learner preferences, interests, progress summaries and capability flags appropriate to the authenticated user.
/catalog and lesson routes expose published learning material, locale support, difficulty, resources and progress-safe identifiers.
Progress writes are idempotent and scoped to course/lesson/user. The server reconciles the canonical state after offline retries or duplicate mobile requests.
AI requests carry only the lesson context, user prompt and feature data needed for that answer. Server policy controls limits, safety and premium capability.
Community content uses separate moderation, visibility and reporting controls instead of inheriting access from private learning data.
The client can query the store for products, but the backend decides what the current user may access after verified transaction and entitlement processing.
com.datagram.education.group.Belonging to the Datagram Family does not create automatic cross-app permission.
A token accepted for Education must not automatically authorize Flex, Pulse, Vault or another Datagram app.
Education APNs delivery uses topic com.datagram.education. A shared team APNs signing key remains server-side and is never shipped in the app.
Interests and learning activity are processed to operate, personalize and improve the academy — not silently repurposed for unrelated products.
Deletion requests must authenticate the account, revoke active sessions and reconcile retained transaction/security records under the published privacy policy.