---
title: "CreateDocumentUploadRequest"
url: "https://docs.wayflyer.com/apis/embedded-finance-1-0-0/versions/7d0182a3-23d8-43cc-b636-dac7e1594f96/schemas/CreateDocumentUploadRequest"
---

> Full API specification: https://docs.wayflyer.com/apis/embedded-finance-1-0-0/versions/7d0182a3-23d8-43cc-b636-dac7e1594f96.md

# CreateDocumentUploadRequest

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Embedded Finance
  version: "1"
servers:
  - url: https://api.wayflyer.com/financing/
    description: Production
components:
  schemas:
    ContentType:
      enum:
        - application/pdf
        - image/png
        - image/tiff
        - image/jpeg
      title: ContentType
      type: string
    CreateDocumentUploadRequest:
      properties:
        file_name:
          maxLength: 255
          minLength: 1
          title: File Name
          type: string
        file_type:
          $ref: "#/components/schemas/ContentType"
        file_size:
          exclusiveMinimum: 0
          maximum: 52428800
          title: File Size
          type: integer
      required:
        - file_name
        - file_type
        - file_size
      title: CreateDocumentUploadRequest
      type: object
```
