HTML to PDF API
Convertissez une URL ou du HTML en PDF avec une seule requête POST. Idéal pour les factures, rapports, captures de pages web et workflows automatisés.
Point de terminaison
POST /api/pdf
URL vers PDF
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/pdf" \
-H "content-type: application/json" \
-d '{"url":"https://example.com"}' \
--output out.pdfChaîne HTML vers PDF
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/pdf" \
-H "content-type: application/json" \
-d '{"html":"<!doctype html><html><body><h1>Hello</h1></body></html>"}' \
--output out.pdfChamps de requête
url: URL de la page cible (http/https)html: Chaîne HTML brute (choisirurlouhtml)format: A4 / A3 / Letter / Legalheader/footer: Texte d'en-tête et de pied avec alignementlogo: dataUrl du logo, position et taille
Besoin de HTML vers PDF en volume ?
Parlez-nous de vos besoins en conversion HTML vers PDF en lot, API HTML string to PDF, jobs URL vers PDF par lot et workflows d'entreprise.
