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

# Get Upload URLs

> Get presigned URLs for the files in this batch from Rampart Storage.



## OpenAPI

````yaml POST /v2/storage/upload-urls
openapi: 3.0.0
info:
  title: Rampart API
  description: Rampart API Documentation
  version: v2
  contact: {}
servers:
  - url: https://api.rampartcorporation.com
security:
  - bearerAuth: []
tags: []
paths:
  /v2/storage/upload-urls:
    post:
      tags:
        - Storage
      summary: Get presigned URLs
      description: Get presigned URLs for the files in this batch from Rampart Storage.
      operationId: StorageController_getPresignedUrls
      parameters:
        - name: x-client-id
          in: header
          description: Client ID for authentication
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - job_id
                - files
              properties:
                job_id:
                  type: string
                files:
                  type: array
                  maxItems: 1000
                  items:
                    type: object
                    required:
                      - filename
                    properties:
                      filename:
                        type: string
                        description: >-
                          Base file name only (e.g., invoices-1.csv). Do not
                          include folder paths.
                      vendor_hint:
                        type: string
                expires_in:
                  type: number
                  minimum: 1
                  maximum: 604800
                  description: URL TTL in seconds (default 3600).
              example:
                job_id: job_abc123
                files:
                  - filename: invoices-1.csv
                    vendor_hint: Acme Corp
                  - filename: contracts-2023.pdf
                expires_in: 900
      responses:
        '200':
          description: Successfully got presigned URLs
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        filename:
                          type: string
                        presignedUrl:
                          type: string
                example:
                  data:
                    - filename: invoices-1.csv
                      presignedUrl: >-
                        https://storage.rampartcorporation.com/upload/abc123?signature=xyz
                    - filename: contracts-2023.pdf
                      presignedUrl: >-
                        https://storage.rampartcorporation.com/upload/def456?signature=uvw
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Bearer authentication header of the form `Bearer <API_KEY>`.

````