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

# Submit a deck using a short-lived upload token



## OpenAPI

````yaml /api-reference/openapi.json post /v1/uploads/decks
openapi: 3.0.0
info:
  version: 1.0.0
  title: Caplia Investor API
  description: >-
    Public REST API for the Caplia Investor Portal. Auth: `Authorization: Bearer
    cap_inv_live_<32 chars>`.
  contact:
    name: Caplia
    url: https://docs.venture.caplia.ai
servers:
  - url: https://api.venture.caplia.ai
    description: Production
security: []
paths:
  /v1/uploads/decks:
    post:
      tags:
        - Uploads
      summary: Submit a deck using a short-lived upload token
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  nullable: true
                company_name:
                  type: string
                company_url:
                  type: string
                  format: uri
                notes:
                  type: string
                founder_name:
                  type: string
                founder_email:
                  type: string
                  format: email
                properties:
                  type: string
                  description: >-
                    JSON object mapping a custom property (name or id) to an
                    option (label or id). Valid values are returned by POST
                    /v1/uploads/sign for this form. Unknown entries are ignored.
      responses:
        '202':
          description: Accepted; deck queued for processing
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                    format: uuid
                  company_id:
                    type: string
                    nullable: true
                    format: uuid
                  status:
                    type: string
                    enum:
                      - queued
                  poll_url:
                    type: string
                    format: uri
                required:
                  - job_id
                  - company_id
                  - status
                  - poll_url
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - request_id
                required:
                  - error
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - request_id
                required:
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      request_id:
                        type: string
                    required:
                      - code
                      - message
                      - request_id
                required:
                  - error

````