PDF Document
PDF Document covers two related things in Zentake, both under the same shape: the fillable PDF template some forms are built on, and the filled PDF you can download once a patient has completed one.
As a template
Some Forms are built directly on top of an uploaded PDF, with input fields
positioned on the page, a signature box here, a checkbox there, instead
of (or alongside) structured questions. /docs/api/documents exposes these
templates.
| Field | Notes |
|---|---|
id | Read-only |
name | |
enabled | |
created_at, updated_at | Read-only |
input_fields | Array of positioned fields: id, input_type (text, checkbox, signature, initials, date, radio/checkbox lists, etc.), left / top / width / height / file_page (placement), required, is_office_use, demographics, placeholder, linked_signature, client_signature, font_size |
As a generated file
Once a Response or Packet Response is submitted, you can download it as a filled-out PDF, either rendered from a PDF template like the one above, or generated from a structured form's questions and answers.
/docs/api/documents lists and retrieves the reusable templates. To
get the filled PDF for a specific submission, use the download
endpoint on the Response or Packet Response instead. There is no
create/update/delete for PDF Document templates via the API.