logo

FILES

Files API consist of MERGE PDF FILES

1.MERGE PDF FILES


Available Methods


Method POST
URL /merge-pdf-files
Headerscontent-type: multipart/form-data

Request

1.Input type is Document File URLs

Body Parameters

Attributes Description Type Required Options
document_urls Document URL array to merge and convert into PDF array true

Example Request

curl -X POST 'https://pdf.msquare.pro/merge-pdf-files?appName=DocCrafter' \
            -H 'Content-Type: multipart/form-data' \
            -H 'Authorization: YOUR_TOKEN_HERE' \
            -d '{"document_urls": ["https://www.cmu.edu/blackboard/files/evaluate/tests-example.xls"]}'
       
             

2.Input type is Zip File URL

Body Parameters

Attributes Description Type Required Options
zip_file_url Zip File url text true
zip_password Enter the password if zip file is password protected. text false

3.Input type is Zip File

Body Parameters

Attributes Description Type Required Options
file Zip File file true
zip_password Enter the password if zip file is password protected. text true

Note

Make sure that Zip/Document file is accessable through the provided URL.