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

# Upload Multiple Application Files

> Uploads several files to an application in a single request. Each file
is automatically categorized based on its contents.



## OpenAPI

````yaml /openapi.yaml post /api/applications/{application_id}/files/multiple
openapi: 3.0.3
info:
  title: Lendflow API docs
  description: ''
  version: 1.0.0
servers:
  - url: https://api.lendflow.com
security:
  - default: []
tags:
  - name: Authentication
    description: >-

      Lendflow uses API Bearer Tokens to permit access to our API. You can
      register for a new Lendflow API key on our <a style="color:blue;"
      href="https://app.lendflow.com/login">client portal</a> in less than 60
      seconds. The Bearer Token needs to be included in all API requests made to
      the API Service in the following form: <div
      id="auth-example">Authorization: Bearer [YOUR_TOKEN]</div><div
      id="auth-reminder"><div id="edge-green"></div><div
      id="auth-reminder-text">You must replace [YOUR_TOKEN] with your personal
      API key.</div></div>
  - name: Access Tokens
    description: |-

      Create and manage the personal access tokens used to authenticate API
      requests.
  - name: Workflow Management
    description: |-

      Create applications and manage them through every stage of their workflow,
      from intake through decision.
  - name: Documents
    description: |-

      Upload, retrieve, and manage the files attached to an application.
  - name: Placements
    description: |-

      Submit applications to lenders and manage each placement through its
      lifecycle.
  - name: Offers
    description: |-

      Create and manage offers on an application, from initial terms through
      funding.
  - name: Smartviews
    description: |-

      Save and manage reusable application filters that organize your pipeline.
  - name: Workflow Templates
    description: |-

      Browse the workflow templates available for creating applications.
  - name: Consent Templates
    description: |-

      Manage the consent documents presented to applicants for signature.
  - name: Offer Templates
    description: |-

      Manage the templates that define the structure and fields of your offers.
  - name: Data Orchestration
    description: |-

      Run data orchestration templates against applications and review their
      execution logs.
  - name: Attributes
    description: |-

      Define computed attributes and evaluate them against your applications.
  - name: Scorecards
    description: |-

      Run scorecards and scorecard groups against applications and retrieve
      their results.
  - name: Entity Profiles
    description: |-

      Manage the reusable business and individual profiles shared across
      applications.
  - name: Organization
    description: |-

      Manage the users in your organization.
  - name: Metadata
    description: |-

      Attach custom key-value data to your applications and files.
paths:
  /api/applications/{application_id}/files/multiple:
    parameters:
      - in: path
        name: application_id
        description: The ID of the application.
        example: architecto
        required: true
        schema:
          type: string
    post:
      tags:
        - Documents
      summary: Upload Multiple Application Files
      description: |-
        Uploads several files to an application in a single request. Each file
        is automatically categorized based on its contents.
      parameters: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  type: array
                  description: ''
                  example:
                    - []
                  items:
                    type: object
                    properties:
                      file_type:
                        type: string
                        description: ''
                        example: funding_invoice_purchase_order
                        enum:
                          - adverse_media_report
                          - affiliate_articles_of_incorporation
                          - affiliate_articles_of_incorporation_or_organization
                          - affiliate_articles_of_organization
                          - affiliate_business_tax_return_last_year
                          - affiliate_business_tax_return_two_years_ago
                          - affiliate_by_laws
                          - affiliate_by_laws_or_operating_agreement
                          - affiliate_irs_ein_letter
                          - affiliate_operating_agreement
                          - ai_agent_session_message_file
                          - applicant_eligibility_certification
                          - application_stip
                          - articles_of_incorporation
                          - articles_of_incorporation_or_organization
                          - articles_of_organization
                          - bank_letter
                          - bank_statements
                          - bank_statements_4
                          - bank_statements_8
                          - bank_statements_12
                          - bank_statements_2
                          - bank_statements_1
                          - bank_statements_7
                          - bank_statements_6
                          - bank_statements_3
                          - bank_statements_5
                          - bank_statements_11
                          - bank_statements_10
                          - bank_statements_9
                          - bop_report
                          - bpr_report
                          - business_report
                          - borrower_platform_template_image
                          - call_recording
                          - certificate_of_good_standing
                          - contract
                          - contract_template
                          - copies_of_prior_sba_loans
                          - corporate_by_laws
                          - corporate_by_laws_or_llc_operating_agreement
                          - credit_memo
                          - credit_report
                          - current_commercial_lease_agreement
                          - dba
                          - dba_or_fictitious_name_registration
                          - debt_schedule
                          - disclosures_and_authorizations
                          - drivers_license_back
                          - drivers_license_front
                          - dynamic
                          - email_footer_image
                          - email_header_image
                          - email_logo
                          - fictitious_name_registration
                          - financial_document_2
                          - financial_document_6
                          - financial_document_4
                          - financial_document_3
                          - financial_document_1
                          - financial_document_10
                          - financial_document_11
                          - financial_document_12
                          - financial_document_5
                          - financial_document_7
                          - financial_document_8
                          - financial_document_9
                          - funder_logo
                          - fundera_other_document
                          - funding_invoice
                          - funding_invoice_purchase_order
                          - funding_irs_form_ss4_ein
                          - funding_payoff_balance_letter
                          - funding_proof_of_ownership
                          - funding_voided_check
                          - history_of_business
                          - id_document
                          - inquiries
                          - insurance_certificate
                          - iso_application
                          - list_of_all_fixed_assets
                          - llc_operating_agreement
                          - widget_logo
                          - management_resume
                          - missed_call_voicemail
                          - offer_stip
                          - other
                          - payroll_report
                          - payroll_report_1
                          - payroll_report_2
                          - payroll_report_3
                          - payroll_report_4
                          - payroll_report_5
                          - payroll_report_6
                          - payroll_report_7
                          - personal_bank_statements
                          - plaid_asset_report_pdf
                          - plaid_statement
                          - ppp_document_1
                          - ppp_document_2
                          - ppp_document_3
                          - raw_cfa_data
                          - recovered_document
                          - ap_document_2
                          - ap_document_6
                          - ap_document_4
                          - ap_document_1
                          - ap_document_5
                          - ap_document_3
                          - risk_inform_report
                          - sba_form_1919
                          - sba_form_413
                          - sba_ppp_forgiveness_letter
                          - security_certificate
                          - security_key
                          - signed_application_doc
                          - signed_checkout_doc
                          - signed_certificate_doc
                          - sms_attachment
                          - state_filing_receipt
                          - state_filing_receipt_or_certificate_of_good_standing
                          - tax_exemption
                          - tax_form_1
                          - tax_form_2
                          - tax_form_3
                          - tax_form_4
                          - tax_form_5
                          - tax_form_6
                          - tax_form_7
                          - tax_form_8
                          - tax_return_1
                          - tax_return_3
                          - tax_return_4
                          - tax_return_5
                          - tax_return_8
                          - tax_return_6
                          - tax_return_2
                          - tax_return_7
                          - uncategorized
                          - verification_doc
                          - w9
                          - working_capital_funds_breakdown
                          - xlsx_cfa_data
                        nullable: true
                      file:
                        type: string
                        format: binary
                        description: >-
                          Must be a file. Must not be greater than 102400
                          kilobytes.
                      offer_stip_id:
                        type: string
                        description: ''
                        example: null
                      application_stip_id:
                        type: string
                        description: Must match an existing stored value.
                        example: null
                      owner_id:
                        type: string
                        description: Must match an existing stored value.
                        example: null
                      product_id:
                        type: integer
                        description: ''
                        example: 3
                        enum:
                          - 1
                          - 2
                          - 3
                          - 4
                          - 5
                          - 6
                          - 7
                          - 8
                          - 9
                          - 10
                    required:
                      - file
              required:
                - files
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    - id: null
                      mime_type: image/png
                      original_name: 6ff8f7f6-1eb3-3525-be4a-3932c805afed.png
                      file_url: ''
                      file_type: null
                      file_size: 4914554
                      type: 5
                      has_metadata: false
                      created_at: null
                      updated_at: null
                      outcome: null
                      reason: null
                    - id: null
                      mime_type: image/png
                      original_name: 62b13b25-7887-3a6d-933d-9f63b76646b2.png
                      file_url: ''
                      file_type: null
                      file_size: 4126610
                      type: 5
                      has_metadata: false
                      created_at: null
                      updated_at: null
                      outcome: null
                      reason: null
                properties:
                  data:
                    type: array
                    example:
                      - id: null
                        mime_type: image/png
                        original_name: 6ff8f7f6-1eb3-3525-be4a-3932c805afed.png
                        file_url: ''
                        file_type: null
                        file_size: 4914554
                        type: 5
                        has_metadata: false
                        created_at: null
                        updated_at: null
                        outcome: null
                        reason: null
                      - id: null
                        mime_type: image/png
                        original_name: 62b13b25-7887-3a6d-933d-9f63b76646b2.png
                        file_url: ''
                        file_type: null
                        file_size: 4126610
                        type: 5
                        has_metadata: false
                        created_at: null
                        updated_at: null
                        outcome: null
                        reason: null
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: null
                          nullable: true
                        mime_type:
                          type: string
                          example: image/png
                        original_name:
                          type: string
                          example: 6ff8f7f6-1eb3-3525-be4a-3932c805afed.png
                        file_url:
                          type: string
                          example: ''
                        file_type:
                          type: string
                          example: null
                          nullable: true
                        file_size:
                          type: integer
                          example: 4914554
                        type:
                          type: integer
                          example: 5
                        has_metadata:
                          type: boolean
                          example: false
                        created_at:
                          type: string
                          example: null
                          nullable: true
                        updated_at:
                          type: string
                          example: null
                          nullable: true
                        outcome:
                          type: string
                          example: null
                          nullable: true
                        reason:
                          type: string
                          example: null
                          nullable: true
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: >-
        <br>You can register for a new Lendflow API key on our <a
        style="color:blue;" href="https://app.lendflow.com/login">client
        portal</a> in less than 60 seconds. The Bearer Token needs to be
        included in all API requests made to the API Service in the following
        form: <div id="auth-example">Authorization: Bearer
        [YOUR_TOKEN]</div><div id="auth-reminder"><div
        id="edge-green"></div><div id="auth-reminder-text">You must replace
        [YOUR_TOKEN] with your personal API key.</div></div>

````