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

# Submit answers for a session's form fields



## OpenAPI

````yaml /openapi.yaml post /api/auto-apply/set-answers
openapi: 3.1.0
info:
  title: Jobo Enterprise API
  description: >
    The Jobo Enterprise API provides programmatic access to job listings,
    intelligent search,

    real-time feeds, automated job applications, and geocoding services.
  version: 1.0.0
  contact:
    name: Jobo Support
    url: https://jobo.world
    email: support@jobo.world
servers:
  - url: https://connect.jobo.world
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs Search
    description: Search and retrieve job listings
  - name: Jobs Feed
    description: Bulk job feeds and expiration tracking
  - name: Career Sites Feed
    description: Bulk feed of newly discovered career sites with enriched company profiles
  - name: Companies
    description: Company profiles and company-scoped job listings
  - name: Auto Apply
    description: Automated job application sessions
  - name: Auto Apply Profiles
    description: Manage applicant profiles for auto-apply
  - name: Locations
    description: Geocoding and location services
paths:
  /api/auto-apply/set-answers:
    post:
      tags:
        - Auto Apply
      summary: Submit answers for a session's form fields
      operationId: setAutoApplyAnswers
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - session_id
                - answers
              properties:
                session_id:
                  type: string
                  format: uuid
                  description: The session ID returned from /start
                answers:
                  type: array
                  items:
                    $ref: '#/components/schemas/FieldAnswer'
                  description: Answers for the form fields
      responses:
        '200':
          description: Updated session state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoApplySessionResponse'
        '400':
          description: Failed to set answers (validation errors, terminal flow state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AutoApplySessionResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    FieldAnswer:
      type: object
      required:
        - field_id
        - value
        - type
      properties:
        field_id:
          type: string
        value:
          type: string
        type:
          $ref: '#/components/schemas/FieldType'
        typeahead_selection:
          type: string
          nullable: true
        handler_type:
          type: string
          nullable: true
        clear_first:
          type: boolean
          default: true
    AutoApplySessionResponse:
      type: object
      properties:
        session_id:
          type: string
          format: uuid
        provider_id:
          type: string
        provider_display_name:
          type: string
        success:
          type: boolean
        status:
          $ref: '#/components/schemas/ApplyFlowStatus'
        error:
          type: string
          nullable: true
        current_url:
          type: string
          nullable: true
        is_terminal:
          type: boolean
        validation_errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
        fields:
          type: array
          items:
            $ref: '#/components/schemas/FormFieldInfo'
    FieldType:
      type: string
      enum:
        - text
        - text_area
        - select
        - multi_select
        - radio
        - checkbox
        - file
        - date
        - number
        - hidden
        - password
        - typeahead
        - toggle
        - rich_text
        - static
        - complex
        - unknown
    ApplyFlowStatus:
      type: string
      enum:
        - form_ready
        - next_available
        - submit_ready
        - submitted
        - login_required
        - captcha_required
        - expired
        - redirected
        - redirect_required
        - error
    ValidationError:
      type: object
      properties:
        field_id:
          type: string
          nullable: true
        message:
          type: string
    FormFieldInfo:
      type: object
      properties:
        field_id:
          type: string
        type:
          $ref: '#/components/schemas/FieldType'
        label:
          type: string
        is_required:
          type: boolean
        options:
          type: array
          items:
            $ref: '#/components/schemas/FieldOption'
        handler_type:
          type: string
          nullable: true
          description: ATS-specific handler hint (e.g. "first-name", "email", "resume").
    FieldOption:
      type: object
      properties:
        value:
          type: string
        text:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key provided by Jobo

````