The playground
Try any of 1462 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Playground demo key · api.reefapi.com
post/generate/v1/pdf_render4 credits
Render a PDF from inline HTML/CSS (Jinja2) or a built-in template_name + data (invoice/receipt/certificate/report). WeasyPrint, fonts pinned, network-off. Output: inline base64 (≤8MB) or one-time download token.
Working example
Parameters
request preview
curl -X POST https://api.reefapi.com/generate/v1/pdf_render \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"template_name":"invoice","data":"{\"company\":{\"name\":\"Acme\"},\"items\":[{\"description\":\"Widget\",\"qty\":2,\"unit_price\":9.5}],\"subtotal\":19,\"total\":19}"}'Hit Send to run this endpoint live.