Skip to main content
POST

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
email
string<email>
required

Student email — must exist in Timeback.

Example:

"student@alpha.school"

apps
object[]
required

Apps to onboard the student into. Each entry is an object with app and an optional args bag. args.grade is required for every app except google. Structure is validated here; app/grade/course values are validated by the orchestrator.

Minimum array length: 1
Example:
forceTimebackCredentials
boolean

Request-level default: (re)write Timeback credentials even for existing accounts (per-app args.forceTimebackCredentials overrides this).

Response

Mentava enrollment or Happy Numbers provider rostering completed synchronously

success
boolean
required

True when every app was queued (202) or synchronous in-repo onboarding succeeded (200); false on partial success (207).

Example:

true

message
string
required

Human-readable summary

Example:

"All 3 app(s) queued for student@alpha.school"

results
object[]
required

Per-app queue results