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

# Upload a BOM or listings file

> Accepts a CSV/XLS(X) file, normalizes headers, paginates rows, and returns a batch ID for later processing.



## OpenAPI

````yaml https://api.seminode.com/v1/docs/public post /listings/upload
openapi: 3.0.1
info:
  contact: {}
  description: Standard HTTP Basic authentication (username & password).
  title: Seminode API
  version: '1.0'
servers:
  - url: https://api.seminode.com/v1
security: []
tags: []
paths:
  /listings/upload:
    post:
      tags:
        - Listings
      summary: Upload a BOM or listings file
      description: >-
        Accepts a CSV/XLS(X) file, normalizes headers, paginates rows, and
        returns a batch ID for later processing.
      parameters:
        - description: Listing type (`supply` or `demand`)
          in: query
          name: type
          required: true
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/_listings_upload_post_request'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/utils.APIResponse'
          description: parsed file preview and batch metadata
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/utils.ErrorResponse'
          description: invalid parameters or unreadable file
        '413':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/utils.ErrorResponse'
          description: file too large
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/utils.ErrorResponse'
          description: server error while processing file
        default:
          description: unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/utils.ErrorResponse'
      security:
        - LoginAuth: []
components:
  schemas:
    _listings_upload_post_request:
      properties:
        file:
          description: CSV or Excel file (d10 MB by default)
          format: binary
          type: string
      required:
        - file
      type: object
    utils.APIResponse:
      properties:
        data:
          type: object
        errors:
          items:
            type: string
          type: array
        meta:
          type: object
      type: object
    utils.ErrorResponse:
      properties:
        error:
          type: string
      type: object
  securitySchemes:
    LoginAuth:
      scheme: basic
      type: http

````