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

# Create Document

> POST /documents

`POST /documents`

Base URL: `https://tms.universal.rollout.com/api`

## Parameters

No parameters.

## Responses

| Status | Description |
| ------ | ----------- |
| `201`  | Created     |
| `400`  | Bad Request |
| `409`  | Conflict    |

## OpenAPI Source

`/openapi/tms.json POST /documents`


## OpenAPI

````yaml /openapi/tms.json POST /documents
openapi: 3.0.3
info:
  title: Universal TMS API Documentation
  description: Development documentation
  version: '1.0'
servers:
  - url: https://tms.universal.rollout.com/api
security: []
paths:
  /documents:
    post:
      tags:
        - Documents
      summary: Create Document
      operationId: post_documents
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                category:
                  type: string
                status:
                  type: string
                type:
                  type: string
                fileUrl:
                  type: string
                fileSize:
                  anyOf:
                    - type: number
                  nullable: true
                mimeType:
                  type: string
                fileSignature:
                  type: string
                folderId:
                  type: string
                created:
                  type: string
                updated:
                  type: string
                receivedDate:
                  type: string
                requiresSignature:
                  type: boolean
                isSigned:
                  type: boolean
                signedBy:
                  anyOf:
                    - type: array
                      items:
                        type: object
                        additionalProperties:
                          anyOf:
                            - type: number
                            - type: string
                  nullable: true
                signedDate:
                  type: string
                isActive:
                  type: boolean
                loanId:
                  type: string
                borrowerId:
                  type: string
                propertyId:
                  type: string
                transactionId:
                  type: string
                userId:
                  type: string
              required:
                - name
                - category
                - status
                - type
                - fileUrl
                - mimeType
                - fileSignature
                - folderId
          multipart/form-data:
            schema:
              type: object
              properties:
                name:
                  type: string
                category:
                  type: string
                status:
                  type: string
                type:
                  type: string
                fileUrl:
                  type: string
                fileSize:
                  anyOf:
                    - type: number
                  nullable: true
                mimeType:
                  type: string
                fileSignature:
                  type: string
                folderId:
                  type: string
                created:
                  type: string
                updated:
                  type: string
                receivedDate:
                  type: string
                requiresSignature:
                  type: boolean
                isSigned:
                  type: boolean
                signedBy:
                  anyOf:
                    - type: array
                      items:
                        type: object
                        additionalProperties:
                          anyOf:
                            - type: number
                            - type: string
                  nullable: true
                signedDate:
                  type: string
                isActive:
                  type: boolean
                loanId:
                  type: string
                borrowerId:
                  type: string
                propertyId:
                  type: string
                transactionId:
                  type: string
                userId:
                  type: string
              required:
                - name
                - category
                - status
                - type
                - fileUrl
                - mimeType
                - fileSignature
                - folderId
          text/plain:
            schema:
              type: object
              properties:
                name:
                  type: string
                category:
                  type: string
                status:
                  type: string
                type:
                  type: string
                fileUrl:
                  type: string
                fileSize:
                  anyOf:
                    - type: number
                  nullable: true
                mimeType:
                  type: string
                fileSignature:
                  type: string
                folderId:
                  type: string
                created:
                  type: string
                updated:
                  type: string
                receivedDate:
                  type: string
                requiresSignature:
                  type: boolean
                isSigned:
                  type: boolean
                signedBy:
                  anyOf:
                    - type: array
                      items:
                        type: object
                        additionalProperties:
                          anyOf:
                            - type: number
                            - type: string
                  nullable: true
                signedDate:
                  type: string
                isActive:
                  type: boolean
                loanId:
                  type: string
                borrowerId:
                  type: string
                propertyId:
                  type: string
                transactionId:
                  type: string
                userId:
                  type: string
              required:
                - name
                - category
                - status
                - type
                - fileUrl
                - mimeType
                - fileSignature
                - folderId
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  category:
                    type: string
                  status:
                    type: string
                  type:
                    type: string
                  fileUrl:
                    anyOf:
                      - type: string
                    nullable: true
                  fileSize:
                    anyOf:
                      - type: number
                    nullable: true
                  mimeType:
                    type: string
                  fileSignature:
                    type: string
                  folderId:
                    type: string
                  created:
                    anyOf:
                      - type: string
                    nullable: true
                  updated:
                    anyOf:
                      - type: string
                    nullable: true
                  receivedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  requiresSignature:
                    type: boolean
                  isSigned:
                    type: boolean
                  signedBy:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          additionalProperties:
                            anyOf:
                              - type: number
                              - type: string
                    nullable: true
                  signedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  isActive:
                    type: boolean
                  loanId:
                    anyOf:
                      - type: string
                    nullable: true
                  borrowerId:
                    anyOf:
                      - type: string
                    nullable: true
                  propertyId:
                    anyOf:
                      - type: string
                    nullable: true
                  transactionId:
                    anyOf:
                      - type: string
                    nullable: true
                  userId:
                    anyOf:
                      - type: string
                    nullable: true
                  originalIds:
                    type: object
                    additionalProperties:
                      anyOf:
                        - type: number
                        - type: string
                  original:
                    type: object
                    additionalProperties:
                      type: object
                      additionalProperties: {}
                  rolloutUpdated:
                    type: string
                required:
                  - id
                  - name
                  - category
                  - status
                  - type
                  - fileUrl
                  - fileSize
                  - mimeType
                  - fileSignature
                  - folderId
                  - created
                  - updated
                  - receivedDate
                  - requiresSignature
                  - isSigned
                  - signedBy
                  - signedDate
                  - isActive
                  - loanId
                  - borrowerId
                  - propertyId
                  - transactionId
                  - userId
                  - originalIds
                  - original
                  - rolloutUpdated
            multipart/form-data:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  category:
                    type: string
                  status:
                    type: string
                  type:
                    type: string
                  fileUrl:
                    anyOf:
                      - type: string
                    nullable: true
                  fileSize:
                    anyOf:
                      - type: number
                    nullable: true
                  mimeType:
                    type: string
                  fileSignature:
                    type: string
                  folderId:
                    type: string
                  created:
                    anyOf:
                      - type: string
                    nullable: true
                  updated:
                    anyOf:
                      - type: string
                    nullable: true
                  receivedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  requiresSignature:
                    type: boolean
                  isSigned:
                    type: boolean
                  signedBy:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          additionalProperties:
                            anyOf:
                              - type: number
                              - type: string
                    nullable: true
                  signedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  isActive:
                    type: boolean
                  loanId:
                    anyOf:
                      - type: string
                    nullable: true
                  borrowerId:
                    anyOf:
                      - type: string
                    nullable: true
                  propertyId:
                    anyOf:
                      - type: string
                    nullable: true
                  transactionId:
                    anyOf:
                      - type: string
                    nullable: true
                  userId:
                    anyOf:
                      - type: string
                    nullable: true
                  originalIds:
                    type: object
                    additionalProperties:
                      anyOf:
                        - type: number
                        - type: string
                  original:
                    type: object
                    additionalProperties:
                      type: object
                      additionalProperties: {}
                  rolloutUpdated:
                    type: string
                required:
                  - id
                  - name
                  - category
                  - status
                  - type
                  - fileUrl
                  - fileSize
                  - mimeType
                  - fileSignature
                  - folderId
                  - created
                  - updated
                  - receivedDate
                  - requiresSignature
                  - isSigned
                  - signedBy
                  - signedDate
                  - isActive
                  - loanId
                  - borrowerId
                  - propertyId
                  - transactionId
                  - userId
                  - originalIds
                  - original
                  - rolloutUpdated
            text/plain:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  category:
                    type: string
                  status:
                    type: string
                  type:
                    type: string
                  fileUrl:
                    anyOf:
                      - type: string
                    nullable: true
                  fileSize:
                    anyOf:
                      - type: number
                    nullable: true
                  mimeType:
                    type: string
                  fileSignature:
                    type: string
                  folderId:
                    type: string
                  created:
                    anyOf:
                      - type: string
                    nullable: true
                  updated:
                    anyOf:
                      - type: string
                    nullable: true
                  receivedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  requiresSignature:
                    type: boolean
                  isSigned:
                    type: boolean
                  signedBy:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          additionalProperties:
                            anyOf:
                              - type: number
                              - type: string
                    nullable: true
                  signedDate:
                    anyOf:
                      - type: string
                    nullable: true
                  isActive:
                    type: boolean
                  loanId:
                    anyOf:
                      - type: string
                    nullable: true
                  borrowerId:
                    anyOf:
                      - type: string
                    nullable: true
                  propertyId:
                    anyOf:
                      - type: string
                    nullable: true
                  transactionId:
                    anyOf:
                      - type: string
                    nullable: true
                  userId:
                    anyOf:
                      - type: string
                    nullable: true
                  originalIds:
                    type: object
                    additionalProperties:
                      anyOf:
                        - type: number
                        - type: string
                  original:
                    type: object
                    additionalProperties:
                      type: object
                      additionalProperties: {}
                  rolloutUpdated:
                    type: string
                required:
                  - id
                  - name
                  - category
                  - status
                  - type
                  - fileUrl
                  - fileSize
                  - mimeType
                  - fileSignature
                  - folderId
                  - created
                  - updated
                  - receivedDate
                  - requiresSignature
                  - isSigned
                  - signedBy
                  - signedDate
                  - isActive
                  - loanId
                  - borrowerId
                  - propertyId
                  - transactionId
                  - userId
                  - originalIds
                  - original
                  - rolloutUpdated
          description: Created
        '400':
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
            multipart/form-data:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
            text/plain:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
          description: Bad Request
        '409':
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
            multipart/form-data:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
            text/plain:
              schema:
                type: object
                properties:
                  errorMessage:
                    type: string
                required:
                  - errorMessage
          description: Conflict
      security:
        - jwt: []
          credential_id: []
components: {}

````