Link Search Menu Expand Document

How to encode output files to Base64

Important: This output data format is supported by endpoints that generate binary files - PDF and images. The output is accessible via generated link and the file under the link is in the text form (base64-encoded).


To enable base64 output, add the following to Custom Profiles field of Zapier action:

{ "outputDataFormat": "base64" }


And add the following to Profiles on Integromat:

{ "outputDataFormat": "base64" }

Sample request to test outside Zapier or Integromat/Make:

POST /v1/pdf/merge HTTP/1.1
x-api-key: <YOUR_API_KEY>
Content-Type: application/json

   "url": ",",
    "name": "result.pdf",
    "profiles": "{ 'outputDataFormat': 'base64' }"