Skip to content

gPdf API Documentation

High-performance PDF generation API with PDF/A archival and PDF/UA accessibility standards.


🚀 Quick Start

DocumentDescription
API ConsoleRun requests and preview PDF in the browser
Quick ExamplesCopy-ready JSON and curl examples
📋 JSON Schema (Complete)Full field reference - all request parameters

10-second start

bash
curl -X POST "https://gpdf.example.com/api/v1/render" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  --data-binary '{
    "pages": [
      {
        "size": "label_100_150",
        "elements": [
          { "type": "text", "x": 10, "y": 18, "content": "Hello gPdf" }
        ]
      }
    ]
  }' \
  --output quickstart.pdf

📖 API Reference

DocumentDescription
API IntroductionEndpoint overview & request format
Schema ReferenceData structure quick reference
PDF ProfilesCompliance levels (PDF/A-1b, UA-1, etc.)
Metadata & ValidationDocument properties & validation rules

⚠️ Error Codes

CodeDescription
API-001Invalid JSON payload
API-002Validation failure
API-101Missing or malformed Authorization header
API-102Authentication failed
API-501PDF rendering failure
API-900Internal system error