Fill a PDF form
pdf_form_fillFill the fields of a fillable PDF form and return the completed form. Input: the PDF's contents as a base64-encoded string, plus a fields object mapping field names to values. Unknown field names are rejected with a list of the form's real fields. Checkboxes accept true/false; radio groups take the chosen option's name; dropdowns take one of their defined choices. Set flatten=true to bake values in so they can no longer be edited. Returns a download_url for the filled PDF (link valid 24 hours). Costs 1 credit; 5 free calls per month.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| flatten | No | ||
| pdf_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||