Documentation

Getting Started

Welcome to the endpnt PDF API! All endpoints require authentication via API key.

API Key

Include your API key in the x-api-key header:

curl -H "x-api-key: YOUR_API_KEY" \
     https://pdf.endpnt.dev/api/v1/health

Input Methods

All endpoints support two input methods:

  • File Upload: Use multipart/form-data with a pdf field
  • URL: Send JSON with a pdf_url parameter

Response Format

All responses follow this structure:

{
  "success": true,
  "data": { ... },
  "meta": {
    "request_id": "req_a1b2c3",
    "processing_ms": 340,
    "remaining_credits": 4847
  }
}