Skip to main content

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.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog →

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.

ParameterRequiredWhat it doesExample
jobIdExtOptionalYour own reference for this call. It is stored with the API call log so you can correlate calls with your jobs. Type: string.
integrationsOptionalIntegration identifiers, forwarded unchanged with the job's notification settings. Type: array.
isAsyncOptionalSet 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.
docNameOptionalSource 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
docContentRequiredThe 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...
docContentBytesOptionalAlternative raw byte payload for the source file. Type: string.
callBackUrlOptionalOptional URL notified when an asynchronous job completes. Type: string.
complianceOptionalAn unrecognised value is rejected with 400. Type: string.PdfA1b
allowDowngradeOptionalAllow the service to fall back to a lower PDF/A conformance level when the requested one cannot be reached. Type: boolean.true
allowUpgradeOptionalAllow 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 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"
}

Request Example​

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# (CSharp) Sample

Complete C# implementation for creating PDF/A compliant documents:

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 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

Get Help​