organizations
organizations

Signup Defaults

What a brand-new student's profile can be defaulted from, BEFORE they are a member of anything.

A student who arrives through /join/<slug> or a class code signs up and lands in the profile flow with the school still only a localStorage stash (pending_org_slug, pending_group_code): the OrganizationMember row is created later, by the dashboard's school-join effect. So /groups/mine and /my-day cannot answer here — they require membership. This read does not: it resolves the stash to the school's taught language, the school's student native language, and the section's level, so the flow can stop asking students what their school already told us (Nancy, 2026-09-11, decision E-1).

A class code wins over a slug when both are sent: the code names one section, the slug only a school. A code nobody recognises falls back to the slug rather than 404ing, so a typo in the code still defaults the school's language. Login is required (this runs post-signup) and nothing here grants membership.

get/organizations/signup-defaults

Query parameters

slugstring nullable
codestring nullable

Headers

authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/organizations/signup-defaults:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 1 of the 25 revisions of this API.1

Of the 25 revisions, 1 has no diff computed.