Content Library Items
Create Content Library Item from File Upload
Changed onThis 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.
post/public/v1/content-library-items?upload
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"data": {
"editable": true,
"name": "CLI name example"
}
}Response
OK
Example response
{
"id": "iMymdDd9XFD3HyxP5VD67Q",
"name": "Sample CLI",
"date_created": "2021-06-17T15:51:13.226974Z",
"date_modified": "2021-06-17T15:51:13.326974Z",
"version": "2"
}Changes
- info
added the new optional request property
/////
- info