API Reference

    Read the reference without an account. Sign in to create and manage your API key.

    Quick Reference

    Base URL

    https://pdfgenius.app/api/v1

    Authentication

    Authorization: Bearer <your-api-key> — create one under API Setup.

    Request format

    multipart/form-data with a file field. Returns the converted file bytes directly.

    Available Endpoints
    POST /api/v1/edit_pdf
    Offline

    Edit PDF

    This endpoint is currently offline and returns 503. It will be enabled soon.

    Accepts: .pdf
    Max size: 50 MB per file
    Files: Exactly 1 file (field named file)
    Options: None
    Example Request
    curl -X POST "https://pdfgenius.app/api/v1/edit_pdf" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -F "file=@document.pdf" \
      -o converted_output

    For merge_pdfs, send multiple files fields. For convert_image_format, add -F 'options={"outputFormat":"png"}'.