---
title: "Upload Mixed Document PDF to Book"
method: POST
path: "/v1/book/upload/mixed"
tags: ["File Uploads"]
---

# Upload Mixed Document PDF to Book

`POST /v1/book/upload/mixed`

Upload a PDF file containing more than one <<glossary:Document>> to a <<glossary:Book>>.

---
You can upload a file to this endpoint as a `multipart/form-data` encoded payload. Visit [our guide](https://docs.ocrolus.com/reference/multipartform-data-payloads) for more information.

> 📘
>  - The maximum file size for upload is 200 MB.

## Response `200`

200

- union
  - object
    - `status` integer — A numerical code that indicates the status of the request.
    - `message` string — A textual description that indicates details about this response's status.
    - `response` object — An object received from the server that potentially contains data.
      - `mixed_uploaded_docs` object[] — An array of Mixed <<glossary:Document>>s uploaded to the <<glossary:Book>>.
        - `pk` integer — Unique integer identifier of the Mixed <<glossary:Document>>.
        - `uuid` string — Universally unique identifier (uuid) of the Mixed <<glossary:Document>>.
        - `name` string — Name of the Mixed <<glossary:Document>>.
        - `page_count` integer — Total number of pages in the Mixed <<glossary:Document>>.
        - `checksum` string — An alphanumerical value used to determine the authenticity of the data.
        - `created_ts` string — The timestamp when the Mixed <<glossary:Document>> was created.
        - `id` integer — Unique primary key of the Mixed <<glossary:Document>>.
  - object
    - `status` integer — A numerical code that indicates the status of the request.
    - `response` object — An object received from the server that potentially contains data.
      - `status` integer — A numerical code that indicates the status of the request.
      - `message` string — A textual description that indicates details about this response's status.
      - `original_existing_doc_pks` unknown[] — Tbe unique primary key(s) of the uploaded <<glossary:Document>> that match the provided file.
        - unknown
      - `mixed_uploaded_docs` object[] — An array of Mixed <<glossary:Document>>s uploaded to the specified <<glossary:Book>>.
        - `name` string — Name of the Mixed <<glossary:Document>>.
        - `status` string — Processing status of the Mixed <<glossary:Document>>.
        - `pages` integer — Total number of pages in the Mixed <<glossary:Document>>.
        - `pk` integer — Unique primary key of the Mixed <<glossary:Document>>.
        - `uuid` string — Universally unique identifier (uuid) of the Mixed <<glossary:Document>>.
    - `message` string — A textual description that indicates details about this response's status.
  - object
    - `status` integer — A numerical code that indicates the status of the request.
    - `response` object — An object received from the server that potentially contains data.
      - `status` integer — A numerical code that indicates the status of the request.
      - `message` string — A textual description that indicates details about this response's status.
      - `original_existing_doc_pks` unknown[] — An array of unique primary key(s) of the uploaded <<glossary:Document>> that match the provided file.
        - unknown
      - `original_existing_doc_uuids` unknown[] — An array of universal unique identifiers of the uploaded <<glossary:Document>> that match the provided file.
        - unknown
      - `uploaded_docs` object[] — An array of <<glossary:Document>> uploaded to the specified <<glossary:Book>>.
        - `name` string — Name of the uploaded <<glossary:Document>>.
        - `status` string — Processing status of the uploaded <<glossary:Document>>.
        - `pages` integer — Total number of pages in the uploaded <<glossary:Document>>.
        - `pk` integer — Unique primary key of the uploaded <<glossary:Document>>.
        - `uuid` string — Universally unique identifier (uuid) of the uploaded <<glossary:Document>>.
    - `message` string — A textual description that indicates details about this response's status.

## Other responses

- `400` — Client Errors

---

[API](https://skmtc.net/ocrolus/apis/user-management.md) · [All operations](https://skmtc.net/ocrolus/apis/user-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ocrolus/user-management/versions/3571ef602d13/schema)
