API v1 is deprecated and will be turned off on January 1, 2022. Check out the API v2 documentation.

CloudConvert can compress PDF files to reduce the file size.

Therefore use the compress mode parameter, as the following example shows. Please note that the mode parameters needs to be set in both the create process API request and the start process API request (refer to the documentation about the other necassary parameters for starting conversions).

Using the unlock mode parameter, CloudConvert can remove PDF password restrictions.

Using the protect mode parameter, CloudConvert can encrypt PDF documents and add security restrictions.