API Endpoints
The PDFBolt API provides flexible HTML to PDF conversion options, tailored to meet diverse workflow requirements.
API Endpoints Overview:
Endpoint | Description | Method | Response | Parameters |
---|---|---|---|---|
/v1/direct | Converts a URL or HTML directly into a PDF and returns it in the response. | POST | Raw PDF or Base64-encoded PDF in the HTTP response body. | Direct Parameters Common Parameters |
/v1/sync | Converts a URL or HTML into a PDF and provides a downloadable URL. | POST | JSON containing a downloadable URL to the generated PDF. | Sync Parameters Common Parameters |
/v1/async | Processes a URL or HTML and sends a callback with the PDF URL to a specified webhook. | POST | Webhook callback with PDF URL. | Async Parameters Common Parameters |
Explore the detailed documentation for each conversion mode: