Skip to main content
HOOKPDF provides a powerful, scalable API for generating PDF documents. Send your JSON data, choose a template, and receive a professionally formatted PDF — all through a simple REST API.

Base URL

All endpoints are relative to the following base URL:
https://api.hookpdf.com

Authentication

All API requests require an API key. Include your key in the Authorization header:
Authorization: Bearer <YOUR_API_KEY>
You can generate and manage your API keys from the HOOKPDF Dashboard.

Available Endpoints

EndpointMethodDescription
/renderPOSTEnqueue a production PDF render job
/render/previewPOSTEnqueue a preview render (watermarked, short TTL)
/reports/{job_id}GETCheck job status and get the PDF download URL

Next Steps

  • Render PDF: Send your data to generate a production PDF.
  • Render Preview: Test your template with a watermarked preview.
  • Get Report: Check the status of a render job and download the result.