---
title: "Create Content Library Item from File Upload"
method: POST
path: "/public/v1/content-library-items?upload"
tags: ["Content Library Items"]
---

# Create Content Library Item from File Upload

`POST /public/v1/content-library-items?upload`

This asynchronous endpoint allows users to create a new CLI by uploading a file.
The uploaded file is processed in the background to generate the CLI.
The maximum allowable file size for upload is 100 MB.
Field tags and form fields are not supported yet.
Once the file is uploaded, the processing will happen asynchronously, and users need to check the status of the CLI creation.

## Response `201`

OK

- ContentLibraryResponse
  - `id` string
  - `name` string
  - `date_created` string, date-time
  - `date_modified` string, date-time
  - `version` string
  - `status` 'cli.UPLOADED' | 'cli.PROCESSED' | 'cli.ERROR'

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `403` — Permission error
- `429` — Too Many Requests

---

[API](https://skmtc.net/pandadoc/apis/pandadoc-public-api.md) · [All operations](https://skmtc.net/pandadoc/apis/pandadoc-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandadoc/pandadoc-public-api/revisions/0c2b70be3fb0/schema)
