> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scoutforschools.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an enrollment submission

> Creates an enrollment submission and returns its `enrollmentRecordId`.

Scout checks the body against the district's enrollment form and reports
every problem in one `400`.

With a `studentId`, the submission re-enrolls that student and is checked
against the district's re-enrollment form instead.

With an `externalId` you've already used, Scout returns the existing
submission with `duplicate: true` and ignores the new body.

Scout creates an account for `email` if it doesn't have one. No email is
sent to the family.

Requires the `enrollment-submissions` scope.




## OpenAPI

````yaml /api-reference/openapi.json post /enrollment/submissions
openapi: 3.1.0
info:
  title: Scout API
  version: 1.0.0
  description: >-
    Programmatic access to Scout rostering data (IMS OneRoster 1.1 & 1.2) and
    related endpoints, authenticated with an API access token.
servers:
  - url: https://api.teachwithscout.com/v1
    description: Production
security: []
tags:
  - name: Access tokens
  - name: Attendance
  - name: Enrollment invitations
  - name: Enrollment submissions
  - name: Master agreements
  - name: Staff associations
  - name: OneRoster 1.1
  - name: OneRoster 1.2
paths:
  /enrollment/submissions:
    post:
      tags:
        - Enrollment submissions
      summary: Create an enrollment submission
      description: >
        Creates an enrollment submission and returns its `enrollmentRecordId`.


        Scout checks the body against the district's enrollment form and reports

        every problem in one `400`.


        With a `studentId`, the submission re-enrolls that student and is
        checked

        against the district's re-enrollment form instead.


        With an `externalId` you've already used, Scout returns the existing

        submission with `duplicate: true` and ignores the new body.


        Scout creates an account for `email` if it doesn't have one. No email is

        sent to the family.


        Requires the `enrollment-submissions` scope.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VendorEnrollmentSubmissionData'
      responses:
        '200':
          description: The new submission, or the existing one for this `externalId`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  invitationId:
                    type: string
                    description: >-
                      The id of the enrollment invitation that holds the
                      submission.
                  enrollmentRecordId:
                    type: string
                    description: The submission's id.
                  status:
                    type: string
                    enum:
                      - in_progress
                      - completed
                      - approved
                      - rejected
                    description: |
                      Where the submission is in review:

                      - `in_progress`: not yet submitted for review.
                      - `completed`: waiting for district staff to review it.
                      - `approved`: staff approved it and enrolled the student.
                      - `rejected`: staff sent it back.

                      A new submission is always `in_progress`.
                  duplicate:
                    type: boolean
                    description: >-
                      `true` if a submission with this `externalId` already
                      existed. Scout returned it unchanged and ignored this
                      request's body.
                  studentId:
                    type: string
                    nullable: true
                    description: >-
                      The enrolled student's id — for a returning student, their
                      existing id. `null` before approval unless you created the
                      submission with `studentId`.
                required:
                  - invitationId
                  - enrollmentRecordId
                  - status
                  - duplicate
        '400':
          description: >
            The submission was rejected. `errors` lists every problem, each with

            its location in the body and a `code`.


            A body that doesn't match the request schema is reported on its own,

            before any other check. Otherwise, `errors` can include:


            - an id that matches nothing in the district

            - a missing school year, or both `schoolYearId` and `schoolYear`

            - an `enrollmentDate` or `householdData.effectiveDate` outside the
            school year

            - a field or value the district's form doesn't accept

            - a student an open submission of yours already covers for the
            school year (`duplicate_submission`)


            A problem that isn't tied to one field comes back with an empty

            `errors`; `message` explains it.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 400
                  message:
                    type: string
                    description: Every problem, in one line.
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/VendorSubmissionFieldError'
                required:
                  - status
                  - message
                  - errors
        '401':
          description: The access token is missing, invalid, expired, or revoked.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 401
                  error:
                    type: string
                  code:
                    type: string
                    example: INVALID_ACCESS_TOKEN
                required:
                  - status
                  - error
                  - code
        '403':
          description: >-
            The request didn't use an API access token, or the token doesn't
            have the `enrollment-submissions` scope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                required:
                  - success
                  - message
        '409':
          description: >-
            Another request with the same `externalId` is still creating its
            submission. Retry shortly; the retry returns that submission with
            `duplicate: true`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 409
                  message:
                    type: string
        '413':
          description: The body is larger than 50 MB.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 413
                  message:
                    type: string
                required:
                  - status
                  - message
      security:
        - accessToken: []
components:
  schemas:
    VendorEnrollmentSubmissionData:
      type: object
      description: >
        What a family fills in on the district's enrollment form. Each
        district's

        form collects its own set of these fields; sending one it doesn't
        collect

        returns a `not_collected` error.


        Strings are at most 255 characters (2000 for `notes`, `details`,

        `medications`, `otherHealthCondition`, and `medicalInstructions`). Lists

        hold at most 50 items (10 for `parentGuardian.parents`), and objects at

        most 100 fields.
      properties:
        email:
          type: string
          maxLength: 255
          description: >-
            The email address of the parent or guardian the submission belongs
            to.
        schoolId:
          type: string
          description: The school the student is applying to.
        schoolYearId:
          type: string
          description: The school year to enroll in. Send this or `schoolYear`, not both.
        schoolYear:
          type: string
          description: >-
            The school year's `identifier`, for example `2026-2027`. Send this
            or `schoolYearId`, not both.
        learningCenterId:
          type: string
          nullable: true
          description: The learning center the student will attend, if any.
        studentId:
          type: string
          description: >-
            The id of an existing student to re-enroll. Omit it to enroll a new
            student.
        enrollmentDate:
          type: string
          format: date
          description: >-
            The student's first day. It must fall within the school year. If you
            leave it out, district staff set it during review.
        externalId:
          type: string
          nullable: true
          minLength: 1
          maxLength: 255
          description: >-
            Your own id for the submission, unique per API client. Reusing one
            returns the existing submission instead of creating another.
        coursePreferences:
          type: array
          maxItems: 50
          description: The ids of the courses the family wants the student to take.
          items:
            type: string
            maxLength: 255
        basicInfo:
          type: object
          description: The student's names and grade level.
          properties:
            legalName:
              type: object
              properties:
                firstName:
                  type: string
                middleName:
                  type: string
                lastName:
                  type: string
                suffix:
                  type: string
                  description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
              required:
                - firstName
                - lastName
            preferredName:
              type: object
              properties:
                firstName:
                  type: string
                middleName:
                  type: string
                lastName:
                  type: string
                suffix:
                  type: string
                  description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
              required:
                - firstName
                - lastName
              description: The name the student goes by.
            otherName:
              type: object
              properties:
                firstName:
                  type: string
                middleName:
                  type: string
                lastName:
                  type: string
                suffix:
                  type: string
                  description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
              required:
                - firstName
                - lastName
              description: >-
                Another name the student is known by, such as an "also known as"
                (AKA) name.
            gradeLevel:
              type: string
              description: >-
                The grade the student is enrolling in. One of the [Grade
                level](/api-reference/code-sets/grade-level) values.
          required:
            - legalName
            - gradeLevel
        demographics:
          type: object
          description: The student's personal details and addresses.
          properties:
            stateId:
              type: string
              description: The student's state id, for example their SSID in California.
            gender:
              type: string
              enum:
                - MALE
                - FEMALE
                - NON_BINARY
                - OTHER
                - UNKNOWN
            pronouns:
              type: string
              enum:
                - HE_HIM
                - SHE_HER
                - THEY_THEM
                - OTHER
                - UNKNOWN
            birthdate:
              type: string
              format: date
            gradeLevel:
              type: string
              description: >-
                Defaults to `basicInfo.gradeLevel`. One of the [Grade
                level](/api-reference/code-sets/grade-level) values.
            birthCity:
              type: string
            birthState:
              type: string
              description: The state or province, as free text.
            birthCountry:
              type: string
              pattern: ^[A-Z]{2}$
              description: >-
                One of the [Country code](/api-reference/code-sets/country-code)
                values.
            cellPhone:
              type: string
              description: 10 to 15 digits. Punctuation is ignored.
            personalEmail:
              type: string
            preferredLanguage:
              type: string
              pattern: ^[a-z]{2}$
              description: >-
                One of the [Language
                code](/api-reference/code-sets/language-code) values.
            homeAddress:
              description: Where the student lives.
              type: object
              properties:
                line1:
                  type: string
                line2:
                  type: string
                  description: The apartment, suite, or unit, if any.
                city:
                  type: string
                state:
                  type: string
                  pattern: ^[A-Z]{2}$
                  description: >-
                    One of the [State code](/api-reference/code-sets/state-code)
                    values.
                postalCode:
                  type: string
                  description: A ZIP code, `12345` or `12345-6789`.
                countryCode:
                  type: string
                  pattern: ^[A-Z]{2}$
                  description: >-
                    Defaults to `US`. One of the [Country
                    code](/api-reference/code-sets/country-code) values.
                county:
                  type: string
              required:
                - line1
                - city
                - state
                - postalCode
            mailingAddress:
              description: Some districts require it even when it matches `homeAddress`.
              type: object
              properties:
                line1:
                  type: string
                line2:
                  type: string
                  description: The apartment, suite, or unit, if any.
                city:
                  type: string
                state:
                  type: string
                  pattern: ^[A-Z]{2}$
                  description: >-
                    One of the [State code](/api-reference/code-sets/state-code)
                    values.
                postalCode:
                  type: string
                  description: A ZIP code, `12345` or `12345-6789`.
                countryCode:
                  type: string
                  pattern: ^[A-Z]{2}$
                  description: >-
                    Defaults to `US`. One of the [Country
                    code](/api-reference/code-sets/country-code) values.
                county:
                  type: string
              required:
                - line1
                - city
                - state
                - postalCode
            county:
              nullable: true
              description: The county the student lives in.
              anyOf:
                - type: string
                  description: >-
                    One of the [California
                    county](/api-reference/code-sets/california-county) values.
                - type: string
                  description: >-
                    One of the [Oregon
                    county](/api-reference/code-sets/oregon-county) values.
            schoolDistrictOfResidence:
              type: string
              nullable: true
              description: >-
                The state's code for the district the student lives in. In
                California, the county-district code; in Oregon, the ODE
                institution id.
            ethnicity:
              description: >-
                Only `HISPANIC_OR_LATINO` and `NOT_HISPANIC_OR_LATINO` are
                accepted.
              type: string
              enum:
                - HISPANIC_OR_LATINO
                - NOT_HISPANIC_OR_LATINO
                - CHOSE_NOT_TO_ANSWER
                - UNKNOWN
                - OTHER
            race:
              type: object
              description: >-
                California districts accept the CALPADS race categories; Oregon
                districts accept the five federal categories.
              properties:
                primary:
                  type: string
                  description: >-
                    One of the [Race type](/api-reference/code-sets/race-type)
                    values.
                secondary:
                  type: string
                  description: >-
                    One of the [Race type](/api-reference/code-sets/race-type)
                    values.
              required:
                - primary
          required: []
        previousSchool:
          type: object
          description: The student's previous school and school history.
          properties:
            entryType:
              type: string
              enum:
                - FIRST_TIME_IN_SCHOOL
                - TRANSFER
                - TRANSFER_WITHOUT_INTERRUPTION
                - TRANSFER_WITH_INTERRUPTION
                - RETURNING_STUDENT
                - OTHER
                - UNKNOWN
            previousSchool:
              type: object
              description: >-
                The last school the student attended. Omit it for a student
                starting school for the first time.
              properties:
                type:
                  type: string
                  description: >-
                    One of the [School
                    type](/api-reference/code-sets/school-type) values.
                county:
                  description: A county in the district's state, or `OUT_OF_STATE`.
                  oneOf:
                    - oneOf:
                        - type: string
                          description: >-
                            One of the [California
                            county](/api-reference/code-sets/california-county)
                            values.
                        - type: string
                          description: >-
                            One of the [Oregon
                            county](/api-reference/code-sets/oregon-county)
                            values.
                    - type: string
                      enum:
                        - OUT_OF_STATE
                name:
                  type: string
                address:
                  type: string
                lastAttendanceDate:
                  type: string
                  format: date
                phone:
                  type: string
                email:
                  type: string
                yearsAttended:
                  type: string
                  description: Free text, for example `2022-2025`.
              required: []
            enrollmentHistory:
              type: object
              properties:
                firstEnrolledInUS:
                  type: string
                  format: date
                firstEnrolledInState:
                  type: string
                  format: date
                firstEnrolledInKindergarten:
                  type: string
                  format: date
                firstEnrolledInDistrict:
                  type: string
                  format: date
                firstEnrolledInSchool:
                  type: string
                  format: date
                gradeFirstEnrolledInDistrict:
                  type: string
                  description: >-
                    One of the [Grade
                    level](/api-reference/code-sets/grade-level) values.
                gradeFirstEnrolledInSchool:
                  type: string
                  description: >-
                    One of the [Grade
                    level](/api-reference/code-sets/grade-level) values.
                yearsCompleted:
                  type: number
                ninthGradeEntryYear:
                  type: string
                  description: >-
                    The school year the student started grade 9, for example
                    `2023 - 2024`.
            specialEducationHistory:
              type: object
              properties:
                hasBeenInSpecialEducation:
                  type: boolean
                  description: Whether the student has ever been in special education.
                hasHad504Plan:
                  type: boolean
                  description: Whether the student has ever had a Section 504 plan.
                hasBeenEnrolledInCaliforniaK12:
                  type: boolean
                  description: >-
                    Whether the student has ever attended a public K-12 school
                    in California.
              required:
                - hasBeenInSpecialEducation
                - hasHad504Plan
                - hasBeenEnrolledInCaliforniaK12
            foreignEducationStatus:
              type: object
              properties:
                enrolledLessThanThreeYearsInUS:
                  type: boolean
                  description: >-
                    Whether the student has been in US schools for less than
                    three years in total.
                majorityOfYearsOutsideUS:
                  type: boolean
                  description: >-
                    Whether the student completed most of their schooling
                    outside the US.
                degreeOutsideUS:
                  type: boolean
                  description: >-
                    Whether the student earned a degree or diploma outside the
                    US.
              required:
                - enrolledLessThanThreeYearsInUS
                - majorityOfYearsOutsideUS
                - degreeOutsideUS
          required: []
        parentGuardian:
          type: object
          description: The student's parents, guardians, and other contacts.
          properties:
            parents:
              type: array
              maxItems: 10
              description: Exactly one must have `isPrimary` set to `true` and an `email`.
              items:
                allOf:
                  - type: object
                    properties:
                      relationship:
                        type: string
                        description: >-
                          One of the [Student contact relationship
                          type](/api-reference/code-sets/student-contact-relationship-type)
                          values.
                      secondaryRelationship:
                        type: string
                        description: >-
                          One of the [Student contact relationship
                          type](/api-reference/code-sets/student-contact-relationship-type)
                          values.
                      type:
                        type: string
                        enum:
                          - PARENT_GUARDIAN
                          - EMERGENCY
                          - FAMILY
                          - OTHER
                          - UNKNOWN
                      isPrimary:
                        type: boolean
                        description: >-
                          Whether this is the student's primary parent or
                          guardian.
                      livesWithStudent:
                        type: boolean
                        description: Whether the person lives with the student.
                      sendMailings:
                        type: boolean
                        description: Whether the person gets mailings about the student.
                      hideFromTranscripts:
                        type: boolean
                        description: >-
                          Whether to leave the person off the student's
                          transcripts.
                      isEmergencyContact:
                        type: boolean
                        description: Whether the person is an emergency contact.
                      isAuthorizedForPickup:
                        type: boolean
                        nullable: true
                        description: >-
                          Whether the person may pick the student up from
                          school.
                      notes:
                        type: string
                    required:
                      - relationship
                      - isPrimary
                      - livesWithStudent
                      - sendMailings
                      - hideFromTranscripts
                      - type
                      - isEmergencyContact
                  - type: object
                    description: A parent or guardian, described in full.
                    properties:
                      legalName:
                        type: object
                        properties:
                          firstName:
                            type: string
                          middleName:
                            type: string
                          lastName:
                            type: string
                          suffix:
                            type: string
                            description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
                        required:
                          - firstName
                          - lastName
                      preferredName:
                        type: object
                        properties:
                          firstName:
                            type: string
                          middleName:
                            type: string
                          lastName:
                            type: string
                          suffix:
                            type: string
                            description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
                        required:
                          - firstName
                          - lastName
                        description: The name the person goes by.
                      otherName:
                        type: object
                        properties:
                          firstName:
                            type: string
                          middleName:
                            type: string
                          lastName:
                            type: string
                          suffix:
                            type: string
                            description: A name suffix, for example `Jr.`, `Sr.`, or `III`.
                        required:
                          - firstName
                          - lastName
                      gender:
                        type: string
                        enum:
                          - MALE
                          - FEMALE
                          - NON_BINARY
                          - OTHER
                          - UNKNOWN
                      pronouns:
                        type: string
                        enum:
                          - HE_HIM
                          - SHE_HER
                          - THEY_THEM
                          - OTHER
                          - UNKNOWN
                      educationLevel:
                        description: >-
                          The highest level of education the person has
                          completed.
                        type: string
                        enum:
                          - GRADUATE_DEGREE
                          - COLLEGE_GRADUATE
                          - SOME_COLLEGE
                          - HIGH_SCHOOL_GRADUATE
                          - NOT_HIGH_SCHOOL_GRADUATE
                          - OTHER
                          - UNKNOWN
                          - DECLINED_TO_STATE
                      educationLevelAsOf:
                        type: string
                        format: date
                        description: When `educationLevel` was last confirmed.
                      email:
                        type: string
                        description: Required for the primary parent or guardian.
                      phone:
                        type: string
                        description: >-
                          The person's main phone number. It can repeat one of
                          the other phone fields.
                      homeAddress:
                        type: object
                        properties:
                          line1:
                            type: string
                          line2:
                            type: string
                            description: The apartment, suite, or unit, if any.
                          city:
                            type: string
                          state:
                            type: string
                            pattern: ^[A-Z]{2}$
                            description: >-
                              One of the [State
                              code](/api-reference/code-sets/state-code) values.
                          postalCode:
                            type: string
                            description: A ZIP code, `12345` or `12345-6789`.
                          countryCode:
                            type: string
                            pattern: ^[A-Z]{2}$
                            description: >-
                              Defaults to `US`. One of the [Country
                              code](/api-reference/code-sets/country-code)
                              values.
                          county:
                            type: string
                        required:
                          - line1
                          - city
                          - state
                          - postalCode
                      mailingAddress:
                        type: object
                        properties:
                          line1:
                            type: string
                          line2:
                            type: string
                            description: The apartment, suite, or unit, if any.
                          city:
                            type: string
                          state:
                            type: string
                            pattern: ^[A-Z]{2}$
                            description: >-
                              One of the [State
                              code](/api-reference/code-sets/state-code) values.
                          postalCode:
                            type: string
                            description: A ZIP code, `12345` or `12345-6789`.
                          countryCode:
                            type: string
                            pattern: ^[A-Z]{2}$
                            description: >-
                              Defaults to `US`. One of the [Country
                              code](/api-reference/code-sets/country-code)
                              values.
                          county:
                            type: string
                        required:
                          - line1
                          - city
                          - state
                          - postalCode
                      homePhone:
                        type: string
                        description: 10 to 15 digits. Punctuation is ignored.
                      workPhone:
                        type: string
                        description: 10 to 15 digits. Punctuation is ignored.
                      cellPhone:
                        type: string
                        description: 10 or 11 digits, with no spaces or punctuation.
                      faxPhone:
                        type: string
                      preferredLanguage:
                        type: string
                      preferredSpokenLanguage:
                        type: string
                        pattern: ^[a-z]{2}$
                        description: >-
                          The language the person prefers for spoken information
                          from the school. One of the [Language
                          code](/api-reference/code-sets/language-code) values.
                      preferredWrittenLanguage:
                        type: string
                        pattern: ^[a-z]{2}$
                        description: >-
                          The language the person prefers for written
                          information from the school. One of the [Language
                          code](/api-reference/code-sets/language-code) values.
                      work:
                        type: object
                        properties:
                          employer:
                            type: string
                          occupation:
                            type: string
                          isFederalEmployee:
                            type: boolean
                          address:
                            type: object
                            properties:
                              line1:
                                type: string
                              line2:
                                type: string
                                description: The apartment, suite, or unit, if any.
                              city:
                                type: string
                              state:
                                type: string
                                pattern: ^[A-Z]{2}$
                                description: >-
                                  One of the [State
                                  code](/api-reference/code-sets/state-code)
                                  values.
                              postalCode:
                                type: string
                                description: A ZIP code, `12345` or `12345-6789`.
                              countryCode:
                                type: string
                                pattern: ^[A-Z]{2}$
                                description: >-
                                  Defaults to `US`. One of the [Country
                                  code](/api-reference/code-sets/country-code)
                                  values.
                              county:
                                type: string
                            required:
                              - line1
                              - city
                              - state
                              - postalCode
                        required:
                          - isFederalEmployee
                      military:
                        type: object
                        properties:
                          isActiveDuty:
                            type: boolean
                          earliestActiveDutyDate:
                            type: string
                            format: date
                            description: The first day of the person's active duty.
                          branch:
                            type: string
                            description: >-
                              One of the [Military
                              branch](/api-reference/code-sets/military-branch)
                              values.
                          dutyStation:
                            type: string
                        required:
                          - isActiveDuty
                    required:
                      - legalName
            custodyIssues:
              type: object
              properties:
                hasCustodyIssues:
                  type: boolean
                details:
                  type: string
                  nullable: true
                  maxLength: 2000
              required:
                - hasCustodyIssues
          required:
            - parents
        householdData:
          description: The household's languages, size, income, and meal benefits.
          type: object
          properties:
            primaryLanguage:
              type: string
              pattern: ^[a-z]{2}$
              description: >-
                The language the student first learned to speak. One of the
                [Language code](/api-reference/code-sets/language-code) values.
            homeLanguage:
              type: string
              pattern: ^[a-z]{2}$
              description: >-
                The language the student speaks most often at home. One of the
                [Language code](/api-reference/code-sets/language-code) values.
            languageSpokenByParents:
              type: string
              pattern: ^[a-z]{2}$
              description: >-
                The language the student's parents or guardians speak to the
                student. One of the [Language
                code](/api-reference/code-sets/language-code) values.
            languageSpokenByAdults:
              type: string
              pattern: ^[a-z]{2}$
              description: >-
                The language the adults in the student's home speak. One of the
                [Language code](/api-reference/code-sets/language-code) values.
            isFluentInEnglish:
              type: boolean
            languagesUnderstood:
              type: string
              description: >
                The languages the student understands, from Oregon's language
                use survey:


                - `NO_ENGLISH`: no English.

                - `MOSTLY_OTHER_LANGUAGE`: mostly another language, a little
                English.

                - `ENGLISH_AND_OTHER_EQUALLY`: English and another language
                equally.

                - `MOSTLY_ENGLISH`: mostly English, a little of another
                language.

                - `TRIBAL_HERITAGE_OR_NATIVE_LANGUAGE`: a tribal, heritage, or
                native language.

                - `ONLY_ENGLISH`: only English.
              enum:
                - NO_ENGLISH
                - MOSTLY_OTHER_LANGUAGE
                - ENGLISH_AND_OTHER_EQUALLY
                - MOSTLY_ENGLISH
                - TRIBAL_HERITAGE_OR_NATIVE_LANGUAGE
                - ONLY_ENGLISH
            culturalActivitiesInOtherLanguage:
              type: string
              description: >-
                Cultural activities the student often takes part in using a
                language other than English, and how often.
            householdSize:
              type: number
              description: The number of people in the household.
            residenceCategory:
              type: string
              description: >-
                Where the student lives. One of the [Residence
                category](/api-reference/code-sets/residence-category) values.
            incomeType:
              description: The period `incomeAmount` covers.
              type: string
              enum:
                - YEARLY
                - MONTHLY
                - TWICE_PER_MONTH
                - EVERY_TWO_WEEKS
                - WEEKLY
                - OTHER
                - UNKNOWN
                - DECLINED_TO_STATE
            incomeAmount:
              type: number
              nullable: true
              description: >-
                The household's income for one `incomeType` period, in US
                dollars.
            eligibilityYear:
              type: string
              description: >-
                The school year of the income guidelines `frlStatus` is based
                on, for example `2025 - 2026`.
            frlStatus:
              description: The student's free or reduced-price lunch (FRL) status.
              type: string
              enum:
                - FREE
                - REDUCED
                - PAID
                - NONE
            effectiveDate:
              type: string
              format: date
              description: >-
                When the student's meal eligibility starts. It must fall within
                the school year.
            hasSnap:
              type: boolean
              description: Whether anyone in the household receives SNAP benefits.
            snapCaseNumber:
              type: string
              description: The household's SNAP case number (not the EBT card number).
            hasTanf:
              type: boolean
              description: Whether anyone in the household receives TANF benefits.
            tanfCaseNumber:
              type: string
              description: The household's TANF case number (not the EBT card number).
            hasFdpir:
              type: boolean
              description: Whether anyone in the household receives FDPIR benefits.
            fdpirCaseNumber:
              type: string
              description: The household's FDPIR case number (not the EBT card number).
          required: []
        healthConditions:
          type: object
          description: The student's health conditions, medications, and doctors.
          properties:
            asthma:
              type: boolean
            beeStingAllergy:
              type: boolean
            diabetes:
              type: boolean
            epilepsy:
              type: boolean
            heartCondition:
              type: boolean
            seizures:
              type: boolean
            nutAllergy:
              type: boolean
            knownHearingProblem:
              type: boolean
            wearsHearingAid:
              type: boolean
            knownEyeCondition:
              type: boolean
            glassesWornAtAllTimes:
              type: boolean
              description: Whether the student must wear glasses at all times.
            wearsContactLenses:
              type: boolean
            wearsGlasses:
              type: boolean
            medications:
              type: string
              nullable: true
              maxLength: 2000
            otherHealthCondition:
              type: string
              nullable: true
              maxLength: 2000
              description: Any other health condition, as free text.
            medicalInstructions:
              type: string
              nullable: true
              maxLength: 2000
            insuranceCarrier:
              type: string
              nullable: true
            insurancePolicyId:
              type: string
              nullable: true
            hospitalPreference:
              type: string
              nullable: true
            physicianName:
              type: string
              nullable: true
            physicianAddress:
              type: string
              nullable: true
            physicianPhone:
              type: string
              nullable: true
            doctorVision:
              type: string
              nullable: true
              description: The student's eye doctor.
            doctorHearing:
              type: string
              nullable: true
              description: The student's hearing doctor.
            immunizationStatus:
              type: string
              enum:
                - 'YES'
                - 'NO'
                - PARTIAL
              nullable: true
              description: Whether the student receives immunizations.
            immunizations:
              type: array
              description: >-
                Vaccine doses the student received, and exemptions. Each vaccine
                and dose number may appear once, and no date can be in the
                future or before `demographics.birthdate`.
              items:
                type: object
                description: >-
                  One vaccine dose a student received, or an exemption from a
                  vaccine.
                properties:
                  type:
                    type: string
                    description: >-
                      One of the [Immunization
                      type](/api-reference/code-sets/immunization-type) values.
                  doseNumber:
                    type: integer
                    description: Which dose of this vaccine, starting at 1.
                  dateAdministered:
                    type: string
                    format: date
                    description: The date the dose was given.
                  exemption:
                    type: string
                    description: >-
                      The exemption that applies instead of a dose, for example
                      a medical exemption.
                required:
                  - type
        studentModifiers:
          description: >-
            The student's alternative school status (DASS) criteria and other
            status flags.
          type: object
          properties:
            dass:
              type: object
              description: >-
                The student's Dashboard Alternative School Status (DASS)
                criteria.
              properties:
                statuses:
                  type: array
                  description: >-
                    Every DASS criterion the student meets. Send `[]` if none
                    apply.
                  items:
                    type: string
                    description: >-
                      One of the [DASS
                      status](/api-reference/code-sets/dass-status) values.
                notes:
                  type: string
              required:
                - statuses
            enrollmentEnhancements:
              type: object
              properties:
                isMigrant:
                  type: boolean
                  description: Whether the student is a migrant student.
                migrantEducationId:
                  type: string
                  description: >-
                    The student's migrant education id. Send it when `isMigrant`
                    is `true`.
                isGifted:
                  type: boolean
                  description: Whether the student has been identified as gifted.
                isOnProbation:
                  type: boolean
                  description: Whether the student is on probation.
                hasOptedOutOfFafsa:
                  type: boolean
                  description: >-
                    Whether the student has opted out of the FAFSA. Grade 9 and
                    up.
                notes:
                  type: string
              required:
                - isMigrant
                - isGifted
                - isOnProbation
                - hasOptedOutOfFafsa
          required:
            - dass
            - enrollmentEnhancements
        releases:
          description: The family's permissions and opt-outs.
          type: object
          properties:
            directoryInfoToHigherEd:
              type: boolean
              description: >-
                Whether the school may share the student's directory information
                with colleges and universities.
            directoryInfoToMilitary:
              type: boolean
              description: >-
                Whether the school may share the student's directory information
                with the U.S. military.
            includeInSchoolDirectory:
              type: boolean
              description: >-
                Whether the school may include the student in the school
                directory.
            useNameInPublications:
              type: boolean
              description: >-
                Whether the school may use the student's name in school
                publications.
            usePicturesForSchool:
              type: boolean
              description: >-
                Whether the school may use pictures of the student for school
                purposes.
            useStudentWork:
              type: boolean
              description: >-
                Whether the school may use the student's work for school
                purposes.
            usePicturesInYearbook:
              type: boolean
              description: >-
                Whether the school may use pictures of the student in the
                yearbook.
            useAudioVideo:
              type: boolean
              description: >-
                Whether the school may use audio or video of the student for
                school purposes.
            useInSocialMedia:
              type: boolean
              description: >-
                Whether the school may use the student's information on social
                media.
            textStudent:
              type: boolean
              description: Whether the school may text the student.
            textParent:
              type: boolean
              description: Whether the school may text the parent or guardian.
            optOutCalGrantGPA:
              type: boolean
              description: >-
                Whether the student has opted out of Cal Grant GPA submission.
                Grade 9 and up.
            optOutELC:
              type: boolean
              description: >-
                Whether the student has opted out of Eligibility in the Local
                Context (ELC) for University of California admissions. Grade 9
                and up.
            signSelfOutForLunch:
              type: boolean
              description: >-
                Whether the student may sign themselves out for lunch. Grade 9
                and up.
            signSelfOutAnytime:
              type: boolean
              description: >-
                Whether the student may sign themselves out at any time. Grade 9
                and up.
            wellnessConsent:
              type: string
              nullable: true
              description: >-
                Consent to school-based wellness and behavioral health support:
                `CONSENT`, `CONSENT_CONTACT_FIRST` (contact the family first),
                or `DO_NOT_CONSENT`. Only for districts that ask.
            wellnessFutureServices:
              type: string
              nullable: true
              description: >-
                Whether the family wants information about future wellness
                services: `INTERESTED` or `NOT_INTERESTED`. Only for districts
                that ask.
            wellnessAreasOfInterest:
              type: array
              items:
                type: string
              description: >-
                Areas where the student may benefit from extra support. Any of
                `FRIENDSHIP_SOCIAL_SKILLS`, `EXECUTIVE_FUNCTIONING`,
                `EMOTIONAL_REGULATION`, `ANXIETY_STRESS`, `SCHOOL_TRANSITIONS`,
                `SELF_CONFIDENCE`, `FAMILY_CONSULTATION`, or `NONE`. Only for
                districts that ask.
            customQuestions:
              type: object
              additionalProperties:
                type: boolean
              description: >-
                Answers to the district's own release questions, keyed by
                question id.
          required:
            - directoryInfoToHigherEd
            - directoryInfoToMilitary
            - includeInSchoolDirectory
            - useNameInPublications
            - usePicturesForSchool
            - useStudentWork
            - usePicturesInYearbook
            - useAudioVideo
            - useInSocialMedia
            - textStudent
            - textParent
            - optOutCalGrantGPA
            - optOutELC
      required:
        - email
        - schoolId
        - basicInfo
    VendorSubmissionFieldError:
      type: object
      description: One problem with a submitted field.
      properties:
        path:
          type: string
          description: >-
            Where the problem is, for example `parentGuardian.parents[0].email`.
            For a document, its type, for example `proofOfResidency`.
        code:
          type: string
          enum:
            - invalid_format
            - unknown_id
            - not_collected
            - invalid_value
            - immutable
            - missing_document_destination
            - unsupported_file_type
            - duplicate_submission
          description: >
            - `invalid_format`: wrong type or format, or over a size limit.

            - `unknown_id`: the id matches nothing in the district.

            - `not_collected`: the district's form doesn't collect this field or
            document. Leave it out.

            - `invalid_value`: the district's form doesn't accept this value.

            - `immutable`: the field can't change after creation. Omit it or
            send the stored value.

            - `missing_document_destination`: documents were uploaded to this
            section, so an update must keep it.

            - `unsupported_file_type`: the file isn't a PDF, JPEG, PNG, or WebP
            image.

            - `duplicate_submission`: an open submission of yours already covers
            this student for the school year. `message` names its id; update and
            finalize that one instead.
        message:
          type: string
      required:
        - path
        - code
        - message
  securitySchemes:
    accessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer access token from `POST /oauth/token` (OAuth 2.0 client
        credentials; the OneRoster `/ims/oneroster/v1p1/token` and `/v1p2/token`
        URLs are aliases). Send it as `Authorization: Bearer <access_token>`.
        Tokens expire after 1 hour and carry your API client's granted scopes —
        an endpoint outside them returns 403.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.