API V2

Create PDF/A

Connector ID: CreatePdfA

Pages of a document can be separated out and processed further, if you use this feature to extract pages. This feature of PDF4me shall help you to create short versions of documents and digital booklets, effortlessly.

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

Parameters

ComplianceString, Required

PDF/A Compliance to be applied. Four allowed options are

  • PDF/A-1b - Level B (basic) conformance
    This is the basic conformance of PDF that follows the standard for reliable reproduction of document’s visual appearance.
  • PDF/A-1a - Level A (accessible) conformance
    This includes PDF/A-1b conformance and aims to improving its accessibility by having a document structure, tagging text spans and images, unicode mapping, language specification etc. This standard aims at improving it viewing in screen readers.
  • PDF/A-2b Basic Compliance
    PDF/A-2 standard is the Part 2 standard of new compliance addressing new features supported PDF versions 1.5, 1.6 and 1.7. Part 2 standard supports image compression, support for transparency, embedding of fonts, provisions for digital signatures and embedding of PDF/A files to facilitate archiving of sets of documents within a single file. Level B is just same conformance level defined in PDF/A -1b
  • PDF/A-2u Basic Compliance with Unicode Mapping
    This compliance follows the PDF/A-2b level with having all text as unicode mapped
  • PDF/A-2a Accessible Compliance
    This compliance follows the PDF/A-2b level keeping it in accessible level same as in PDF/A-1a.
  • PDF/A-3b Basic Compliance
    The Part 3 of the standard allows embeding of files such as xml, csv, cad, word files etc along with Part 2 of the standard
  • PDF/A-3u Basic Compliance with Unicode Mapping
    This compliance follows the PDF/A-3b level with having all text as unicode mapped
  • PDF/A-3a Accessible Compliance
    This compliance follows the PDF/A-3b level keeping it in accessible level same as in PDF/A-1a.
File ContentBase64, Required

The content of the input file

File NameString, Required

Name of the file

Allow DowngradeBoolean, Required

Allow downgrade of compliance in future
true
false

Allow UpgradeBoolean, Required

Allow upgrade of compliance in future
true
false

Output

File ContentBinary

Output PDF file with selected compliance type

File NameString

Output PDF file name with extension

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

Payload

{
  "docContent": "Please put PDF base64 content",
  "docName": "output",
  "compliance": "PdfA1b",
  "allowUpgrade": true,
  "allowDowngrade": true
}

PDF4me api samples

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