API reference
PDF tools, account access, personal API keys and billing. Original processing routes and omitted-field defaults are retained.
Authenticate your requests
Sign in and create a personal key under Account → API keys. Send it in X-API-Key for integrations. The workspace uses a verified Supabase Bearer session. User feature access, minute limits and monthly quotas are enforced through Supabase. Basic/static server credentials apply only to legacy installations without Supabase. See Accounts and Billing.
curl --fail-with-body \
-H "X-API-Key: $SHIPWAVE_API_KEY" \
-F 'file=@label.pdf' \
-F 'orientation=horizontal' -F 'guide=true' \
"$SHIPWAVE_URL/api/convert" --output label_A4.pdfSet SHIPWAVE_URL to your application origin. Keep integration keys on your website backend. The health checks and this reference are public.
Requests & coordinates
Upload files as multipart form data and preserve the exact file field name. Use JSON for HTML strings, URLs and organized merging. Send nested objects as JSON strings in multipart fields. Check the HTTP status before saving a binary response; errors return JSON.
/api/convert uses file, vertical/horizontal and the original guide layout. Its center position is measured from the top. /api/convert/label-to-a4 uses pdfFile, portrait/landscape, nine positions and offsets; its center position is measured from the bottom.PDF coordinates use points: 72 per inch, with the origin at the bottom-left. The thermal worker uses its original top-left placement internally. Page numbers start at 1, except organized merge pageIndex, which starts at 0.
Main PDF/HTML uploads default to 50 MiB per file; Office 100 MiB; thermal 50 MiB; legacy tools 10 MiB. Temporary IDs last about one hour and do not survive restarts. Read Content-Disposition for the download filename.
Built with open source
PDF processing uses pdf-lib, PDF.js and the existing PyMuPDF engine. The interface and new tools use SortableJS, Lucide and node-qrcode. Component acknowledgements and licenses include PyMuPDF’s AGPL or commercial licensing options.