Create PDF/A - Archival Compliance API
PDF4me Create PDF/A is a comprehensive enterprise-grade solution that transforms existing PDF documents into PDF/A compliant format through robust API integration. Our advanced cloud-based processing engine ensures full compliance with international PDF/A standards for long-term document preservation and archival requirements. The API efficiently processes PDF conversion by receiving source PDF files and compliance parameters through REST API calls, utilizing advanced rendering technology for precise PDF/A standard compliance and document integrity maintenance. With comprehensive support for multiple PDF/A compliance levels, accessibility features, and archival requirements, this solution is ideal for document management systems, archival workflows, compliance applications, and enterprise document preservation platforms that require reliable, scalable PDF/A conversion with guaranteed long-term accessibility and document preservation.
Authenticating Your API Request
To access the PDF4me REST API, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user of the REST API.
Key Features
- Multiple PDFA Compliance Levels: Support for PDF/A-1b, PDF/A-1a, PDF/A-2b, PDF/A-2u, PDF/A-2a, PDF/A-3b, PDF/A-3u, and PDF/A-3a standards
- Long-term Document Preservation: Ensure documents remain accessible and readable for decades with PDFA compliance
- Accessibility Enhancement: Create accessible PDF/A documents with proper document structure and tagging
- Advanced PDFA Options: Flexible upgrade and downgrade options for future compliance management
- Enterprise-Grade PDFA Conversion: Reliable, scalable document processing with professional support and guaranteed PDF/A compliance
- Seamless API Integration: RESTful API designed for automated PDFA workflows and enterprise system integration
REST API Endpoint
The PDF4me REST API uses standard HTTP methods to interact with resources. All PDF/A creation operations are performed through a single endpoint:
- Method: POST
- Endpoint:
/api/v2/PdfA
PDFA Compliance Standards
The API supports comprehensive PDF/A compliance levels for different archival and accessibility requirements:
Basic Compliance Levels
- PDF/A-1b: Level B (basic) conformance for reliable reproduction of document's visual appearance
- PDF/A-2b: Basic compliance supporting PDF versions 1.5, 1.6, and 1.7 with advanced features
- PDF/A-3b: Basic compliance allowing embedding of additional files (XML, CSV, CAD, Word files)
Accessible Compliance Levels
- PDF/A-1a: Level A (accessible) conformance with document structure and tagging for screen readers
- PDF/A-2a: Accessible compliance maintaining PDF/A-2b features with accessibility enhancements
- PDF/A-3a: Accessible compliance with PDF/A-3b features and full accessibility support
Unicode Mapping Levels
- PDF/A-2u: Basic compliance with Unicode mapping for international character support
- PDF/A-3u: Basic compliance with Unicode mapping and file embedding capabilities
REST API Parameters
Complete list of parameters for the Create PDF/A REST API. Parameters are organized by category for better understanding and implementation.
Important: Parameters marked with an asterisk (*) are required and must be provided for the API to function correctly.
Required Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| Compliance* | String | 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. | PdfA1b |
| File Content* | Base64 | The content of the input file | JVBERi... |
| File Name* | String | Name of the file | document.pdf |
| Allow Downgrade* | Boolean | Allow downgrade of compliance in future true false | true |
| Allow Upgrade* | Boolean | Allow upgrade of compliance in future true false | true |
Output
The PDF4me Create PDF/A REST API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
{
"File Content": "Output PDF file with selected compliance type",
"File Name": "Output PDF file name with extension"
}
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| File Content | Output PDF file with selected compliance type |
| File Name | Output PDF file name with extension |
Schema View
The data structure and types of the response:
2 items
File Content: Binary Output PDF file with selected compliance type
File Name: String Output PDF file name with extension
Type Indicators:
Binary= Binary dataString= Text data
Binary Data View
The actual PDF/A compliant file data and metadata:
data
─────────────────────────────
File Content: Output PDF file with selected compliance type
File Name: Output PDF file name with extension
Binary Data Access:
- PDF/A Content: Ready for download or further processing
- Compliance Verified: Document meets selected PDF/A standard
Request Example
Header
Content-Type: application/json
Authorization: YOUR_API_KEY
Note: Get your API key from the PDF4me Dashboard
Payload
{
"docContent": "Please put PDF base64 content",
"docName": "output",
"compliance": "PdfA1b",
"allowUpgrade": true,
"allowDowngrade": true
}
Code Samples
The PDF4me Create PDF/A REST API provides code samples in multiple programming languages. Choose the language that best fits your development environment:
- C#
- Java
- JavaScript
- Python
- Salesforce
- n8n
- Google Script
- AWS Lambda
Google Script Sample
Google Apps Script implementation for Google Workspace integration:
PDFA Compliance Features
Document Preservation
- Long-term Accessibility: Ensure documents remain readable for decades with PDFA compliance
- Visual Appearance: Maintain exact visual reproduction across different systems
- Content Integrity: Preserve all document content and structure for PDF/A standards
- Metadata Preservation: Keep document metadata and properties intact
Accessibility Features
- Document Structure: Proper document hierarchy and organization for PDFA compliance
- Text Tagging: Semantic markup for screen readers and assistive technologies
- Unicode Mapping: Full international character support in PDF/A format
- Language Specification: Proper language identification for accessibility tools
Advanced PDFA Capabilities
- File Embedding: Support for embedding additional files (XML, CSV, CAD, Word) in PDF/A format
- Digital Signatures: Maintain digital signature integrity for PDFA compliance
- Font Embedding: Ensure font availability for proper PDF/A rendering
- Image Compression: Optimized image handling and compression for PDFA standards
Industry Use Cases & Applications
- Government & Public Sector
- Legal & Professional Services
- Healthcare & Medical
- Finance & Banking
- Education & Research
Government & Public Sector Use Cases
- Government & Public Sector: Convert official documents to PDFA format for long-term archival and compliance
- Public Records: Convert public records to PDF/A for long-term preservation
- Regulatory Documentation: Transform regulatory documents to PDF/A for compliance
- Official Archives: Convert official documents to PDF/A for archival purposes
Legal & Professional Services Use Cases
- Legal & Compliance: Transform legal documents to PDF/A for regulatory requirements and preservation
- Contract Preservation: Convert contracts to PDF/A for long-term preservation
- Court Documents: Transform court documents to PDF/A for archival
- Compliance Documentation: Convert compliance documents to PDF/A for regulatory requirements
Healthcare & Medical Use Cases
- Healthcare & Medical: Convert medical records to PDFA format for patient data preservation and accessibility
- Patient Records: Transform patient records to PDF/A for long-term preservation
- Medical Documentation: Convert medical documents to PDF/A for accessibility
- HIPAA Compliance: Transform medical documents to PDF/A for compliance and preservation
Finance & Banking Use Cases
- Financial Services: Transform financial documents to PDF/A for audit trails and compliance
- Financial Reports: Convert financial reports to PDF/A for long-term preservation
- Audit Trails: Transform audit documents to PDF/A for compliance
- Regulatory Compliance: Convert financial documents to PDF/A for regulatory requirements
Education & Research Use Cases
- Education & Research: Convert academic documents to PDFA format for institutional archives and accessibility
- Academic Papers: Transform academic papers to PDF/A for preservation
- Research Documentation: Convert research documents to PDF/A for accessibility
- Institutional Archives: Transform educational documents to PDF/A for archival