Create a PDF from Markdown
apitemplate_create_pdf_from_markdownWRITE: renders one PDF from Markdown (Jinja2 placeholders like {{lang}} are filled from data) and returns the hosted download_url (never the file bytes). COST: uses 1 generation of your APITemplate.io plan quota per call (see apitemplate_get_account). Do not retry or repeat it unless needed; every call is counted. POST /v2/create-pdf-from-markdown (export_type=json).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS including the <style> tag. | |
| body | Yes | Markdown text; may use Jinja2 syntax such as {{lang}}. | |
| data | No | Values for the placeholders in body. | |
| meta | No | Your own reference id for this file; it shows up in apitemplate_list_objects. | |
| filename | No | Custom file name ending in .pdf (default: a random UUID). | |
| settings | No | PDF print settings. | |
| expiration | No | Minutes until the hosted file expires: 0 = keep permanently (default), or 1-10080. | |
| generation_delay | No | Milliseconds to wait before rendering (0-30000), for pages that load content late. |