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.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| jobIdExt | Optional | Your own reference for this call. It is stored with the API call log so you can correlate calls with your jobs. Type: string. | |
| integrations | Optional | Integration identifiers, forwarded unchanged with the job's notification settings. Type: array. | |
| isAsync | Optional | Set to `true` to process the action asynchronously and get a job to poll at `/api/v2/GetActionStatus`. Only honoured by actions that support asynchronous processing. Type: boolean. | |
| docName | Optional | Source file name including its extension. Several actions dispatch on the extension, so it should always be set; when omitted a per-action default is used. Type: string. | document.pdf |
| docContent | Required | The source file. Accepts the base64-encoded file content, a `pdf4meblobid://<id>` reference to a previously uploaded blob, or an `https` URL to the source document. Required: an empty value fails with `File is empty`. Type: string. | JVBERi... |
| docContentBytes | Optional | Alternative raw byte payload for the source file. Type: string. | |
| callBackUrl | Optional | Optional URL notified when an asynchronous job completes. Type: string. | |
| compliance | Optional | An unrecognised value is rejected with 400. Type: string. | PdfA1b |
| allowDowngrade | Optional | Allow the service to fall back to a lower PDF/A conformance level when the requested one cannot be reached. Type: boolean. | true |
| allowUpgrade | Optional | Allow the service to use a higher PDF/A conformance level when needed. Type: boolean. | 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