API V2

Flatten PDF

Use Flatten to remove all form controls from the PDF file.

  • Method: POST
  • Endpoint: /api/v2/FlattenPdf

Parameters

File Contentbase64, Required

The content of the input file

File Namestring, Required

Source PDF file name with .pdf extension

Output

File ContentBinary

Output file content from the PDF4me Connect

Header
Content-Type:application/json
Authorization: Please copy key from the link.

Payload

{
  "docContent": "Please put PDF base64 content",
  "docName": "output.pdf"
}

PDF4me api samples

CSharp(C#)
Java
JavaScript
Python
Salesforce
n8n
Google Script
AWS Lambda