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

# Request a presigned URL to upload a ReqIF archive

> Creates an import job and returns a presigned URL the client PUTs the .reqif/.reqifz bytes to directly. Call the parse endpoint once the PUT completes.



## OpenAPI

````yaml /openapi/customer-api.json post /project/{projectId}/reqif-import/upload
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Flow customer API reference. Start with the [quickstart](/api/quickstart)
    and [authentication guide](/api/authentication).
  title: Customer API
  version: 1.0.0
servers:
  - description: Flow API
    url: https://backend.branch.flowengineering.com
security: []
tags:
  - name: Automations
  - name: Branches
  - name: Comments
  - name: Convert
  - name: Data Model
  - name: Diagrams
  - name: Entities
  - name: Files
  - name: Import
  - name: Notifications
  - name: Projects
  - name: ReqIF
  - name: ReqIF Import
  - name: Shared Access Grants
  - name: User Groups
  - name: Users
paths:
  /project/{projectId}/reqif-import/upload:
    post:
      tags:
        - ReqIF Import
      summary: Request a presigned URL to upload a ReqIF archive
      description: >-
        Creates an import job and returns a presigned URL the client PUTs the
        .reqif/.reqifz bytes to directly. Call the parse endpoint once the PUT
        completes.
      operationId: ReqifImportController_requestUpload
      parameters:
        - in: path
          name: projectId
          required: true
          schema:
            type: string
        - description: Workspace identifier
          in: header
          name: customer
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateReqifImportUploadDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReqifImportUploadResponseDto'
          description: ''
      security:
        - api-key: []
        - bearer: []
components:
  schemas:
    CreateReqifImportUploadDto:
      properties:
        file_name:
          description: Original archive filename (.reqif or .reqifz).
          type: string
        mime_type:
          description: Archive MIME type.
          type: string
        size:
          description: Archive size in bytes.
          type: number
      required:
        - file_name
        - size
        - mime_type
      type: object
    ReqifImportUploadResponseDto:
      properties:
        job_id:
          type: string
        upload_headers:
          description: HTTP headers the client must send with the PUT.
          type: object
        upload_url:
          description: Presigned URL to PUT the archive bytes to.
          type: string
      required:
        - job_id
        - upload_url
        - upload_headers
      type: object
  securitySchemes:
    api-key:
      in: header
      name: X-API-Key
      type: apiKey
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````